Visual Studio 2010 Crashing on Solution Load

后端 未结 7 1874
萌比男神i
萌比男神i 2021-02-20 06:32

I\'ve seen a lot of similar questions, but I don\'t think I\'m duplicating. Here\'s my situation. I have three solutions that I\'m working with. A works fine, but when I try

7条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 07:01

    I realize this is an old post, but I came up with another solution today as I was working on the same issue. In my case, VS was trying to open a source code file using the CSharp Form Editor instead of the CSharp Editor.

    When that happened, the code started to run (I saw my splash screen) but an error occurred (I saw my error message about not finding some hardware) and the resulting error closed VS. Trying to reopen the project would have VS open the *.cs file again, creating a frustrating loop of crashes.

    I was able to open the project after deleting the *.suo file. Then in Solution Explorer I right clicked the code file and selected Open With. In the dialog I changed the default and everything was fine, including seeing the hardware that I was not finding before.

提交回复
热议问题