remember last programming session
-
jeudi 12 avril 2012 13:50
Visual Studio 2010 used to remember the last programming session. When I reopened a project it would open the files I had open previously when I closed the project. Now it dosen't. I've seen threads that said to delete the *.suo of the project, but that didn't fix it.
Does anyone know why this useful feature has stopped working, or how to fix it?
Thanks in advance.
Toutes les réponses
-
jeudi 12 avril 2012 14:19
Try resetting the settings.
Under Tools -> Import and Export Settings -> Reset all settings.
A.m.a.L Hashim

Dot Net Goodies
-
jeudi 12 avril 2012 14:25Modérateur
The open window information is stored in the .suo which is per-machine/per-user. If the file is corrupt then the information would be lost. To recover you would need to delete the .suo, open VS, open a window or two, close VS and then reopen it.
Possible scenarios that can cause this problem include:
- The .suo file is in source control preventing VS from editing it
- The .suo file is opened by another instance of VS
If the settings are still not being saved then try running in safemode (/safemode) to see if an addin is causing the .suo to not be updated properly.
Michael Taylor - 4/12/2012
http://msmvps.com/blogs/p3net
-
mercredi 18 avril 2012 10:59ModérateurHi David,
How is it going now with our friends' suggestions?
We are looking forward to hearing from you.
Have a nice day,Leo Liu [MSFT]
MSDN Community Support | Feedback to us
-
mercredi 18 avril 2012 15:32The reset did not work. I've deleted the .suo and open VS, opened a couple of windows and then closed and reopened the project. Nothing opens. Haven't had a chance to try in save mode yet.

