My company recently migrated to Visual Studio 2012 and I am using it to develop web application using ASPX pages. The pages are split with the C# in a code-behind file. After using 2012 for a couple weeks now, I noticed something: if my ASPX page does not correctly validate to the HTML5 standard (i.e. I am missing a closing tag somewhere), the page will not save. This problem does not occur in the code-behind file, nor does it occur on Razor pages.
I briefly looked through the standard Visual Studio settings pages, but cannot find a setting to allow invalid code to be saved. I also have Resharper installed (as well as the Productivity Power Tools), but cannot find a setting in either of those extensions that seem to relate to my issue. If it matters, the project I am working on is part of a TFS solution.
Has anyone else experienced this issue? If so, does anyone know of a setting that might have caused this that I may be overlooking?
Update: Since posting this, I have noticed that I am unable to save even after the page has been validated. It can take up to a minute before Visual Studio allows me to save the page. The length of time may be related to the amount of text that I entered before trying to save.
Update 2: After talking to a coworker who has a similar set of extensions, I determined that Resharper must be causing the problem. If anyone knows of a Resharper 7 setting that may be causing this, please let me know. I can’t tell if this is a bug or an intended feature.
Final Update: Thank you to all who offered assistance, but after installing the Visual Studio Update 1, I no longer notice the problem. It seems to have been a bug that was fixed with the update.
As stated in the final update section in the question, after installing the Visual Studio Update 1, I no longer notice the problem. It seems to have been a bug that was fixed with the update. Problem resolved!