Its happened about 4 times now in a few months.
Im in the Edit.cshtml or similar MVC view where its a mix of c# and html. The file is 5000 lines of code or so. Im touching up ONE control. hit the space bar a few times? spinny wheel. visual studio is not responding... ok wait a while. now I can get a few chars typed in. spinny wheel. not responding... wait wait...
then save and run?
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request.
Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Encountered end tag "div" with no matching start tag. Are your start/end tags properly balanced?
Line 3504: </div> Line 3505: </div> Line 3506: </div> Line 3507: @*</div>*@ Line 3508: // END OF THIS SECTION
after TWO HOURS of only getting a few chars typed having it stall and stall, I finally remember this visual studio BUG where for no reason it obliterates <div statements at random
\Edit.cshtml(755): < div class="form-group"> \Edit.cshtml(1528): < div class="page-header"> \Edit.cshtml(2143): < div class="page-header"> \Edit.cshtml(2586): < div class="page-header"> \Edit.cshtml(2797): < div class="page-header"> \Edit.cshtml(3012): < div class="form-group"> \Edit.cshtml(3115): < div class="form-group">
do a search for the offending div statements, after fixing several its down to only 7. but wait, thats not all...
\Edit.cshtml(1527): <div id = "tabs-5" > \Edit.cshtml(2142): <div id = "tabs-6" > \Edit.cshtml(2585): <div id = "tabs-7" > \Edit.cshtml(2796): <div id = "tabs-8" > \Edit.cshtml(3011): <div id = "tabs-9" > \Edit.cshtml(3114): <div id = "tabs-10" > \Edit.cshtml(3346): <div id = "tabs-11" >
and how many like this: ></ script >