I’m currently working on merging the contents of a Web App project into an existing Website project both using .Net 2.0.
Aside from the many issues I’ve had I’m really stumped here.
I am using a page base class defined in app_code and a master page defined outside app_code. In the web app project the base class had no problem accessing the master page’s type/members but now that it’s in the website project in the same exact directories they were in in the web app project whenever I try to build I get a type or namespace not found error. Here’j the jist of the dir/namespace structure
App_code
-common
PageBase.cs (mysite.common namespace)
Common
-masterpages
MyMasterPage.master (namespace = mysite.common.masterpages)
And in my base class I have a strongly typed property returning the page’s Master property cast to MyMasterPage.
In the pagebase class intellisence doesn’t show the masterpages namespace
Any idea?
Aside from the many issues I’ve had I’m really stumped here.
I am using a page base class defined in app_code and a master page defined outside app_code. In the web app project the base class had no problem accessing the master page’s type/members but now that it’s in the website project in the same exact directories they were in in the web app project whenever I try to build I get a type or namespace not found error. Here’j the jist of the dir/namespace structure
App_code
-common
PageBase.cs (mysite.common namespace)
Common
-masterpages
MyMasterPage.master (namespace = mysite.common.masterpages)
And in my base class I have a strongly typed property returning the page’s Master property cast to MyMasterPage.
In the pagebase class intellisence doesn’t show the masterpages namespace
Any idea?