I installed the new VS2013 Update 2. As soon as I open a .cshtml file VS crashes.
I tried:
- repair VS
- deactivated all extesions
- devenv.exe /ResetSkipPkgs
- resetted all settings
without success
I installed the new VS2013 Update 2. As soon as I open a .cshtml file VS crashes.
I tried:
without success
What worked for me:
Ciao
I resolved the problem by renaming the %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ ComponentModelCache folder to ComponentModelCacheOLD. First I had to quit VS2012, rename the folder, and then restart VS 2012. All problems went away.
For me this issue was caused by a config problem in Views/Web.config. The following change fixed the issue:
For me, resolve the issue by running visual studio as a administrator.
This happened to me too when installing Razor Generator. I had a second copy of Visual Studio open when I installed Razor Generator.
I closed out of all instances of Visual Studio and reopened, and that fixed it.
What worked for me: