How to remove namespace from Inherits Attribute without a Parser Error, Could not load type
<p>I've seen lots of posts about the Inherits Attribute, and the Parser Error "Could not load type"</p>

<p>I can get this working by putting "RootNamespace.PageName" for a specific page, where RootNamespace matches the Root namespace in my project properites.</p>

<p>But I would rather not put the namespace in there. i.e. I would rather put "PageName" than "Namespace.PageName".</p>

<p>I have a library project with a few DLLs and 10 or so .aspx and .ascx files. 
To get an update of my library project, other projects in my company copy the DLLs in and then copy the .aspx and .ascx files into a specific folder in their project.</p>

<p>Only problem is every time they copy they have to change the Namespace of the inherits attribute to match the root namesapce in their project.
If they don't do this, they get no compiler errors but just get a Parser error when they hit the libary .aspx and .ascx files.</p>

<p>This is very annoying, it seems very ridiculous that so many pages will not work if the project root namespace changes.</p>

<p>Does anybody have any ideas on how I can make library pages and user controls for nuse withing other peoples projects?</p>

<p>Thanks,
Mike G</p>
