Visual studio has kept crashing for 3 developers over the last few weeks.
What makes it worse is there doesn’t seem to be any consistency to the cause of the crashing, it sneaks up suddenly and POW, freezes and crashes before kindly offering to reopen for you.
What made it more confusing/annoying was no could reproduce the crashing constantly, some days you would have a few days without crashing and then one day it could crash 10 times and ruin your day.
We found a solution which seems to work
(backup first) – ALWAYS
then delete the ComponentModelCache folder, which you should find here
C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
The solution doesn’t seem to shed much light on what was causing the crashing, particularly the fact it was happening to different developers on different computers.
You should install Debug Diag – http://www.microsoft.com/en-us/download/details.aspx?id=40336 and setup a crash rule for Visual Studio. Even with the public symbols, you may find enough details in analysis of the crash dump (which can be done with the same Debug Diag tool) to find even more details about the true root cause of the crash. You can also use this crash dump in a support case with Microsoft to assist in figuring out what the cause of the crash is as well.
LikeLike
Awesome comment, I have never heard of debug Diag tool but I will definitely have a look because it has stopped the crashing most of the time but I do still get the odd one
LikeLike
You’re a life saver!!
LikeLike
Here is an updated link to the Debug Diagnostic Tool v2 Update 2
https://www.microsoft.com/en-us/download/details.aspx?id=49924
LikeLike