We all know it sucks when
.designer.aspx is corrupted and you need to generate it. I found a couple of solutions, like this and this but they only work properly if you have the following items set in your aspx file:
1. CodeBehind attribute in aspx
2. Inherits attribute in aspx.
Hope that helps.
Comments