“Visual Studio 2012 has stopped working” when solution is opened

前端 未结 15 1191

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

15条回答
  •  失恋的感觉
    2020-12-16 17:24

    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
    

提交回复
热议问题