Visual Studio 2012 keeps crashing

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



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.



4 thoughts on “Visual Studio 2012 keeps crashing

  1. Chad Rexin October 20, 2014 / 12:44 pm

    You should install Debug Diag – 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.


    • Hosk October 20, 2014 / 1:19 pm

      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


  2. Tiago November 30, 2015 / 2:09 pm

    You’re a life saver!!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.