Hi.
I am writing a website based on ASP.net 1.1 [downgraded from ASP.net 2] and I have a strange problem.
I have a class in App_Code called DB.cs which has no namespace defined. This class is used by various ASPX pages and their respective code-behind pages. When I debug the page, the class can be 'seen' and I get no compilation errors. However, when I run it without the debugger, the DB class cannot be 'seen' and I get a CS0246 error message.
I didn't have this problem when the website was using ASP.net 2.
Do you have any ideas why this is happening?
Thanks.
Jon
I am writing a website based on ASP.net 1.1 [downgraded from ASP.net 2] and I have a strange problem.
I have a class in App_Code called DB.cs which has no namespace defined. This class is used by various ASPX pages and their respective code-behind pages. When I debug the page, the class can be 'seen' and I get no compilation errors. However, when I run it without the debugger, the DB class cannot be 'seen' and I get a CS0246 error message.
Code:
CS0246: The type or namespace name 'DB' could not be found (are you missing a using directive or an assembly reference?)
I didn't have this problem when the website was using ASP.net 2.

Do you have any ideas why this is happening?
Thanks.
Jon