p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET 4 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=554)
-   -   Problem with Example in Chapter 1 (Build Providers) (http://p2p.wrox.com/showthread.php?t=91853)

awhitsel January 7th, 2014 04:34 PM

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.


All times are GMT -4. The time now is 01:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.