Designer cs not updating
Close the page in the markup editor or designer, recompile (errors and all) and then try again to Convert to Web Application.In my testing most of the time the more helpful error message will come up eventually.All of this also applies to full site WAP conversions.If pages have errors in them that causes the markup to not compile properly mostly due to naming conflicts or full markup failures you can use this same process to fix pages – one at a time if necessary.This seems to be a problem with Visual Studio and my knowledge is not advanced enough to pick it.Until i learned these lessons, i was ripping my hair out at the delay of writing the application.The user control tag becomes the focus of the error after pasting it onto the parent page, rather then the real problem, because yet again, the designer reference has not been created.
For example I have a nearly standard header that I use on some pages that contain common toolbar buttons.
NET is trying to be helpful and add IDs for every server control it pastes into the new page even if that control originally did not contain an id. NET generates new ids for you and then fails to check the document if those ids already exist on the page.
For example: this is a simple toolbar header and it contains an image control.
The problem here is that this is difficult to figure out. You see the error – the compiler is missing the controls – but you get no hint as to why the codebehind page is not behing generated.
When I run into this problem I usually start by deleting the .page and hoping that then opening the page in the visual designer and saving will fix any nascent problems.