views:

42

answers:

2

Hello,

I have a web application project, which compiles fine using VS2008. However each time, I try to compile it with aspnet_compiler it fails and is not able to see my class, which I have placed in my code folder. Why is the aspnet_compiler not able to see my class and how can I fix that?

Thanks

A: 

Check to make sure the namespace is referenced appropriately.

gmcalab
A: 

Click on the .vb file in your project, look under the proporties palette and make sure that Build Action is set to Compile.

Nissan Fan
it is already. I guess I need to add the default namespace.
vikasde

related questions