I have been using Visual Studio for a while and found that when I open visual studio and open the project all the files that were open last time remain open.
This helped me: I deleted all SDK, JDK & JRE folders that had been rooted in VS settings before. After that I used devenv.exe /ResetUserData and devenv.exe /ResetSettings.