Monday, June 21, 2010

How to generate designer.cs manually in VisualStudio ?

Whenever we update aspx/ascx file it is suppose to update the designer.cs file. However this update doesn’t occur always. Instead the update happens later when you open the disigner.cs file.


The simplest solution I found is ,
Delete the designer.cs page , Rightclick on the aspx/ascx page and choose convert to web application. You will find a new updated designer.cs file.

*Please leave a comment before you leave.

No comments:

Post a Comment