Create a ASP.NET Project in Visual Studio 2012. Add any aspx file in it GO to source. <h2>Heading</h2><%-- This is a comment--%> <div>My Div</div>See there is a commentNow Press Ctrl+k+DYou will get message that "Could not reformat the document due to line ..."This is very annoying in Visual Studio 2012 but works correctly in Visual Studio 2010 and previous versions.My all projects are throwing this error while formatting after opening in Visual Studio 2012
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...