When I open Visual Studio everything is fine, but when I open any solution, it comes up with an error:
Visual Studio 2012 for Windows Desktop has stopped working.
I'm beginning to get really frustrated now, can anyone help? I don't want to lose all of my work.
I formatted my computer yesterday, reinstalled all my software and used Visual Studio all day, it was fine. When I shut down the computer, it updated to the newest versions of windows update, then completed the update this morning when I turned it on, now I can't open any of my solutions again.
I faced same problem after I upgraded from windows 8 to windows 8.1 . But I deleted the folder C:\Users\C S RAI\AppData\Local\Microsoft\VisualStudio\11.0\ and the problem is solved.
I had same problem and I tried all above solutions but none one them worked for me. When I checked Tools->Extensions and Updates->Online, I saw a few updates available. I chose one of them and after restart, Visual Studio 2013 back to normal.
I have encountered this issue (Visual Studio 2012 for Windows Desktop has stopped working.) today after installing the github desktop version. Deleting the files from this location "(%AppData%..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache)" didnt help. I reset all environment settings using visual studio. Go to Tools -> Import and Export settings and choose "Reset all settings" option to reset the environment settings. I see new settings file generated in the path "C:\Users[username]\Documents\Visual Studio [version]\Settings" and then i was able to open all the existing projects in my local machine.
The answer by @Georgi is correct. This answer is just to guide user to access the User AppData and Roaming folders in Windows 10. Do the following steps:
In order to keep your computer safe, remember to restore back the defaults.
Credits to Hafid Selougha.
You only need to go into below location
(%AppData%..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache)
and delete the file "Microsoft.VisualStudio.Default.cache".
It should work.
I tried the above things but it did not worked for me.But resetting environmnet setting did the job.
Go to Tools->Import & Export Settings -> Choose Reset all settings
NOTE: you can also save copy of current setting by Exporting it as a backup