Posts Tagged visual studio

Missing / Corrupt *.aspx(/ascx).Designer.cs file

I had a weird error today about not being able to “connect to the designer.cs” file for one of my pages.  I easily fixed this by just deleting the offending designer file and re-generating it.  Apparently it should auto regenerate just by opening the page in the design view and changing something- but this didn’t seem to work.  I had to right click the aspx file and click “Convert to Web Application” which instantly dropped a new designer.cs file back in there.

Incidentally this is my 100th blog post on here! :)

,

2 Comments