Designer cs not updating

Specifically WAP pages look at the page markup and then build the .(.vb) file.

designer cs not updating-10designer cs not updating-28

There, is a simple workaround for this, See the below Image, And that’s it.

As soon as you do this a new .file will be created for you with all the controls in it.

Solution 2 : Delete your old .file if you want to update and create a new empty file with the same name, after saving your aspx or ascx file again, the designer class will be regenerated.

I'm using Visual Studio 2008 EDIT: Sorry I should have noted I've already tried: It's it ridiculous that in 2012 Visual Studio still doesn't have a context menu item to regenerate designer files from source files?

It's akin to not being able to rebuild a corrupt DLL. Especially with external source control and external editors you leave Visual Studio crippled. I'm actually trying to regenerate resource file designers.

You create new controls in markup or the designer and – they don’t show up in your code.

You must have an account to comment. Please register or login here!