“Visual Studio 2012 has stopped working” when solu

2019-01-24 05:20发布

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.

15条回答
SAY GOODBYE
2楼-- · 2019-01-24 05:35

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.

查看更多
放荡不羁爱自由
3楼-- · 2019-01-24 05:35

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.

查看更多
兄弟一词,经得起流年.
4楼-- · 2019-01-24 05:37

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.

查看更多
ら.Afraid
5楼-- · 2019-01-24 05:42

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:

  1. Go to File Explorer.
  2. Select the C drive.
  3. On the File Explorer Ribbon, switch to the View Tab.
  4. Expand the Option button, by clicking on the black small triangle below the button. As shown in the image: enter image description here
  5. Select Change Folder and Search Options.
  6. On the Folder Options dialog box select the View Tab. enter image description here
  7. Amend as shown above.
  8. Click the Apply and then the OK buttons.
  9. Now go the folder C:\Users\YOUUSERRNAME\AppData and you will see them enabled.

In order to keep your computer safe, remember to restore back the defaults.

Credits to Hafid Selougha.

查看更多
太酷不给撩
6楼-- · 2019-01-24 05:45

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.

查看更多
▲ chillily
7楼-- · 2019-01-24 05:46

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 enter image description here
NOTE: you can also save copy of current setting by Exporting it as a backup

查看更多
登录 后发表回答