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 stop
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.
First I tried Reset All Settings: Tools -> Import / Export Settings -> Reset All Settings. I did not resolved the issue.
Deleting the entire deleted the entire folder, "%AppData%..\Local\Microsoft\VisualStudio\12.0" worked for me.
Thanks everyone for the help.
I had exactly the same problem, additionally I could not create new projects because of "no exports were found that match the constraint contract name" error. I made a small research and the answer from this question helped me to resolve both issues. Now I can create and open my previous projects. What I did is to delete this folder:
%AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Had this problem when trying to Debug an ASP.NET site.
Turns out my "Application Pool" (e.g. ASP.NET v4.0) had more than one "Maximum Worker Processes" and that was causing the problem.
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
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.