Visual Studio open files question

后端 未结 9 1942
野性不改
野性不改 2020-12-05 07:08

Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping

9条回答
  •  一生所求
    2020-12-05 07:24

    Try the following:

    1. Close the program after closing all files.
    2. Make a copy of [whatever].suo
    3. Open the solution again, open some files, and exit.
    4. Copy (don't move) the old .suo file over the one that was just generated.
    5. Make the .suo file read only.

    If you have a repository you might want to check that file in.

    I suggest this because I was having the reverse problem, where it wasn't opening my old files automatically, and the cause was a .suo file that had been checked into the repository and was (for some reason) not being overwritten by Studio. The file wasn't even write protected.

提交回复
热议问题