View Single Post
  #1 (permalink)  
Old September 4th, 2009, 10:08 PM
DevonTaig DevonTaig is offline
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with BuildProvider code (chapter 1)

I'm getting an error, "Could not load type CarBuilderProvider.Car" when I attempt to compile the code in chapter 1. The .car file I have is below:

<?xml version="1.0" encoding="utf-8" ?>
<car name="SamsCar" >
<color>Blue</color>
<door>4</door>
<speed>123</speed>
</car>

And the XML snippet from the web.config file is below:

<buildProviders>
<add extension=".car" type="CarBuilderProvider.Car" />
</buildProviders>

I didn't modify the buildProvider code from the solutions at all.

Any ideas?