View Single Post
  #1 (permalink)  
Old January 7th, 2014, 04:34 PM
awhitsel awhitsel is offline
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Example in Chapter 1 (Build Providers)

I am having a problem implementing the example in Chapter 1 relating to build providers.

I created the Evjen.car file as shown, created the Car.cs class file, added the reference to the .car file extension in the application's web.config file , and moved the .car file to the App_Code folder, as instructed.

The problem occurs when I am creating the web page to test it out. After I declared the variable (newCar) of the EvjenCar datatype, I receive the following error:

"The type or namespace name 'EvjenCar' could not be found (are you missing a using directive or an assembly reference?)"

Am I missing something here?

Please advise.

Thank you.