VS2005 Web designer bug

I was refactoring my little heart out on a project when I realized I had a Hyperlink control in several places that always pointed to the same place. So I made a derived class in App_Code, added it to pages/controls in web.config (<add assembly="App_Code" namespace="Awesome.UI" tagPrefix="Awesome"/>), and replaced away. 

Well wouldn't you know it, doing this breaks the design view of the page when it has a master. You get the dreaded "Error creating control - Content1" exception. Boo.

I haven't been able to Google anything out of this. Has anyone else had the problem? 

2 Comments

  • I have seen it on numerous occasions, but ignored it since the error only appears in the designer (and I use the designer hardly ever).

  • I am running into the same.

    However, when I copy entire page contents (except the first line) of the page with the controls that do not render into a newly created aspx page all controls render fine. After restarting VS the controls on the new page do not render anymore.

    If anyone from the Visual Studio team reads this, please let us know how to get this fixed.

    Thanks,
    Markus

Comments have been disabled for this content.