We found Visual Studio 11 Beta hits a crash bug when editing cshtml/vbhtml razor editor, if the smart indent for HTML editor is set to Block instead of Smart . The workaround is to go to Tools->Options->Text Editor->HTML->Tab, and change the indenting to Smart . HTML smart indent is a new feature in Visual Studio 11 and should be the default. However, if you have previous versions of Visual Studio installed on the same machine, the old indent option might get accidently migrated to your Visual Studio 11 Beta settings. And the block HTML indent will trigger our MVC4 editor problem. For VS2010sp1 + MVC4 Beta razor problem workaround, please visit http://blogs.msdn.com/b/webdevtools/archive/2012/02/27/vs2010-sp1-mvc4-beta-workaround...(read more) ...
Go to the complete details ...