Designer cs not updating

Microsoft are driving their development tools forward at a hectic pace. NET MVC 1.0, new beta's for Silverlight 3, Visual Studio 2010, Windows 7 etc.Whilst it is nice to know that our development tools will have a future and that there will be plenty of new features to play with, I think that in some instances we would very much appreciate more regular bug fixes to our current production tools.You create new controls in markup or the designer and – they don’t show up in your code.Even though you know the control is defined on the page you’re in red squiggly hell: So now comes the dance: You’re trying to open the markup editor, make some changes. Open the designer, move something, compile try again… The problem here is that the designer file doesn’t get re-generated if you have some sort of layout error in the page.

This one is also the main reason when you try to type the tag for the user control and the tagprefix doesn't list in the intellisence.

If you just use the designer to create new pages it’s unlikely that the WAP codebehind generation will get munged up.

As to the duplicate ID problem that is usually the cause of problems for me when cutting and pasting, that is also controllable via configuration option in the Visual Studio options. I know, duh, but the error list did not show it and the control i was pasting or typing in new onto the form was the focus of the error because Visual Studio refused to create a designer code file reference.

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.

Leave a Reply