VS2008 .designer.cs regenerating issue

Okay...I'm going nuts about this and don't know why this is happening. Why is "Generation of designer file failed"?

I've a regular ASP.Net C# web application project in Visual Studio 2008. I've one master page under folder called "Master". When I add a new Content ASPX page using this master page (the master page has absolutely nothing in it except the default HTML tags and a form) and save the content page, it gives the following:

image 

This is driving me nuts. :(

I have already performed the following operations but nothing has helped:

  • Deleted the webform1.designer.cs file and right click on the .aspx  and select "Convert to Web Application". Upon doing this, it gives the same dialog as above.
  • Tried devnev.exe /resetsettings with no luck.
  • Checked the permission on the folder, I've full permission.
  • Tried creating an aspx page without Master page and it works FINE. i.e I don't get the dialog above.

So, I have concluded (without any resolution) that this has something to do with the Master page. I don't know what's wrong.

Is there anybody else facing the similar issue?

 

Update (12/27/07 1pm EST):

Once you get the error above, it won't go away from the Error List unless you close the Studio and reopen the project. Nuts, really!

Published Thursday, December 27, 2007 12:59 PM by rachitp
Filed under:

Comments

No Comments