Visual Studio exiting when attempting to view properties, resources or settings

I was working on a small project today, when I attempted to open the settings for my project. At whch point Visual Studio just closed.

I have seen this behaviour at few times, generally I have just assumed that the settings/resource files have become corrupt or something. And usually deleting them seem to do the job, however on this occasion it did not.

Also every time I went to access the project properties VS died. Even attaching to VS gave no hints to what the problem was.

Looking around on the net it seems to be quite a common problem yet, quite difficult to reproduce.

I have seen several connect issues opened and closed where support could not reproduce it. Seems a bit poor that MS would close so many issues that have similar symptoms.

Most of the solutions I have found were around closing open XAML files in VS and docking any floating windows. This didn’t help.

After removing almost everything from my project short of the project itself I deleted the supporting project files and this seemed to cure the problem (this time!).

If you run into the same problem and can’t find a fix that works, try deleting all of the .suo and .user files and anything else you can find. Trim down your solutions to thier bare minimum (ie, the code), and get rid of anything that is not part of the solution.

Leave a Reply