Visual Studio 2010 crashes opening .cshtml files
I am unable to open any CSHTML files in any ASP.NET MVC solution as VS2010 consistently crashes.
I am running Visual Studio 2010 Premium on Windows 7 Ultimate x64 SP1. Repairing the installation doesn't fix the issue. Anyone know how to resolve this?
Running the following command from the command line helped me resolve my issue with VS crashing on opening .cshtml files:
devenv.exe /ResetSkipPkgs
The /ResetSkipPkgs switch is documented here and has helped several other people resolve all kinds of problems with VS.
精彩评论