Regenerating *.aspx.designer.cs file
If you do some barbarous copy-paste with asp WebForms you may corrupt your *.apsx.desginer.cs file. Recreate a new one is as simple as performing the following steps:
- Delete the *.aspx.designer.cs file.
- Right click on the *.aspx page and select “convert to web application”
enjoy!
May 28th, 2008 at 10:09
Thanks, this saved my bacon.
August 11th, 2009 at 15:58
[…] for this tip go to Matthias Suter for shortly pointing to this possibility on his blog. Other Hatties at Under My Hat Tip: Solving error “Could not load type” in Visual Studio If you […]