I have come across an issue where in MVC 4 pilot project, while working in views, the IDE would crash fairly frequently. I am using Visual Studio 2010 with SP1 and we are using GitHub for our source control. Luckily I came across this article:
In the Known Issues and Breaking Changes section, it lists this gem:
The workaround is to compile the project to get the assemblies in the bin folder. Note, if you clean the project which removes the assemblies from the bin folder, the editor problem will come back.
This will be corrected in the next release.
This was fairly similar to my case, but not entirely correct. We are using NuGet package restore on our projects, and our .gitignore file is set up to exclude binaries. So, even if you do compile the project, we’re not checking the bins into source control. The IDE was crashing as though the project had never been build.
Thankfully the workaround still applies, and building the project after merging from upstream still did the trick.