Wednesday, September 25, 2013

C# designer.cs file is not updating correctly

In some cases you may end up with a designer.cs file which is missing control references or still has references to controls which have been removed from the front end display. I have had this happen from time to time and the fix that has generally worked for me is as follows:
Add another ASP control to the front end and save that file. The designer.cs should then fix itself.

Or alternatively:
Edit something on the front end and save that file. The designer.cs should then fix itself.

No comments:

Post a Comment