My ASP.NET Web Application cannot 'find' any of my classes in the App_Code folder .. ??
- by Pure.Krome
Hi folks,
I'm trying to make a new asp.net web application .. so I'm copying my files from one site to the new one, in the same solution.
Now, any of my classes in the App_Code directory ... they are not getting 'picked up' by the rest of my project.
For example...
\_
\_App_Code
|_ BaseMasterPage.cs (please don't ask why this is in here..)
|_ Utility.cs
|_ FooBar.cs
\_MasterPages
|_ Default.master.cs
// This file errors ;(
namespace Foo.WebSite.MasterPages
{
public partial class Default_master : App_Code.BaseMasterPage
{ ... }
}
namespace Foo.WebSite.App_Code
{
public class BaseMasterPage : MasterPage
{ .. }
}
It cannot find the App_Code.BaseMasterPage (compilation and intellisence error) in the Default.master.cs page.
Can someone please help? this is killing me :(