Prior to today, if I quit VS2010 and reopened it, my previously opened solution was loaded and any previously opened files were reloaded and displayed in their correct posit
Resetting VS2010 General settings (in Tools choose Import and Export Settings) and deleting the suo file, while the project has been opened, fixed the issue.
You may have somehow lost your .suo
file. Did you move your solution or anything?
I, too, tried editing my .vssettings file. I deleted a lot but was afraid to delete too much. What worked for me was to copy an old .vssettings file and use that instead of the recent one.
This happened to me as well, but I didn't want to reset all my settings. So here are a couple things to try before that:
Export your settings (Tools -> Import and Export Settings) and open the resulting file in a text editor. Search for a section starting with <Category name="Environment_WindowLayout"
. In my file, there were two places with a riduculous amount of duplicate <ViewBookmark
entries. I deleted all but one in both places then I imported this file into VS and it fixed it for me. Note: I re-imported everything.
Along the same lines as above, I read a post about exporting your current settings and then importing the resulting file but excluding window layouts (All Settings -> General Settings -> Window Layouts).
To confirm answers that HiredMind and valverij have contributed - I opened a previously exported settings file in VS 2013, executed Edit -> Advanced -> Format Document, then searched for and deleted all of the ViewBookmark tags where ViewBookmarkType="DocumentWell". I then saved, closed and imported that settings file. It worked! VS now (again) reopens the previously opened documents when I open a solution. Thanks.
I tried everything described above but in the end it was doing a full reset in VS2010 General settings (in Tools choose Import and Export Settings) that sorted me out ;-(