Ctrl + K + D throws as error in asp.net website HTML source file if there is a comment - by KamalDeepSinghSaini

Status : 


Sign in
to vote
ID 779497 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 2/19/2013 4:25:36 AM
Access Restriction Public


Create a ASP.NET Project  in Visual Studio 2012. Add any aspx file in it GO to source.

<%--    This is a comment--%>

    <div>My Div</div>

See there is a comment

Now Press Ctrl+k+D

You 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
Sign in to post a comment.
Posted by Microsoft on 5/14/2013 at 5:06 PM
Closing this issue. Thank you for your feedback.
Posted by Microsoft on 3/13/2013 at 5:31 PM
We are unable to reproduct this issue in VS2012. Can you please provide us more details (like capture a video).
Posted by Microsoft on 2/20/2013 at 12:02 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/19/2013 at 4:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)