Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > VS does not save most recent projects
 

VS does not save most recent projects

Hi

It seems this is the best place to ask my question. My issue is that VS does not save my recent projects\solutions. It even does not load them, since I've added some project locations to the registry where VS does save (Under HKCU\Software\Microsoft\VisualStudio\8.0\ProjectMRUList), but neither it loads the files and show them in the Start Page, nor deletes the values from registry or change them.

Noticeable thing must be that I've only installed VC#, VB & Crystal Reports.

Thanks in advance

farshad

farshad.A  Thursday, March 29, 2007 11:53 PM

Hey guys,


I have never heard of this problem before, but it may be a possible bug. However, since you have changed some of the registry, it will be hard for the team to reproduce and debug the problem. If you can figure out the exact repro steps, you should log a bug at the connect website: http://connect.microsoft.com/VisualStudio

thanks
,
James Lau
http://blogs.msdn.com/jameslau/

James Lau1  Friday, April 20, 2007 7:59 AM

Go to the Tools, Options window, Environment, General section and check the Recent Files settings.

If that is OK, them close all the IDE instances anddelete the ProjectMRUList. Then, open one (and only one) IDE instance and test it projects are stored in the MRU list.

Carlos Quintero - MVP  Friday, March 30, 2007 6:39 PM

Hi Carlos and thanks for your reply.

But these are not my problem; I'm not that newbie! Tested all the things you say before, my idea's that the problem's most probably caused for the kind of installation (installing only VC#, VB & CR). As I told, VSneither saves, nor loads recent files list.

Since I couldn'tsee any similar problem happened for others --none of my friends have chosen this kind of installation, and mysearch inthe internet had no result--, or noticed by MS, I'm a bit confused. Everything's OK, no error or warning during installation, no noticeable issue in the installation log. It makes me angry!

farshad.A  Friday, March 30, 2007 10:49 PM

OK, you are not newbie but I always try to check basic things first. There are many causes that can explain some behavior. For example, the IDE updates the MRU list when you close the IDE, not as soon as you open a new project. For example, if the IDE crashes before exiting, the MRU list is not updated. If you have a second IDE, the list is overwritten. Etc, etc...

Now, about your problem: what could you install apart from VB#, C# or CR? Even with only VB or C# the MRU list should work, AFAIK...

Could you download RegMon (Registry Monitor) from www.sysinternals.com, set it to filter the registry activity of only devenv.exe and capture what devenv.exe tries to do with HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList ? If you have a non-temporary VS 2005 project and devenv.exe does not attempt to update the MRU lication, I think it could be a bug. If it attempts, it could be a permission problem or something like that...

Carlos Quintero - MVP  Friday, March 30, 2007 11:15 PM

Sorry Carlos, I think it wasrude of mine to speak like that.

TheIDE does not crash, and it does not write any values to the ProjectMRUList at all even when only one instance's open; I've checked it carefully. I'd seen no other suspicious behavior.

I should say I forgot to mention one important thing, that I've changed VS's location(which defaults to "My Documents\Visual Studio 2005"). And relatively all other locationsit works with. I've made most of them exactly through registry, yet very carefully in order not to make VS to fail. Made the changes recently, as far as I remember, I should say the problem existed before; and now I have completely no other kind of bad behavior by VS(or at least I've not encountered yet).

I have problem opening sysinternals,so as soon as I can download RegMon, I'll do what you told to see does VS really makes no senseof saving\loading MRU, or it's doing it! But I'malmostsure it does not! There exist the values I've written manually to the ProjectMRUList, completely with no change, and VS does not show them in the Start Page.

I'm really confused!!

farshad.A  Friday, March 30, 2007 11:55 PM

Ok, tested with RegMon, it shows that on load, VS reads ProjectMRUList but does not show the list in Start Page; while on closing nothing happens, no attempt to write the list back in the registry! However, I don't take care that it does not write the recent list to the registry, I wonder why it does not show the list, since it does have read it!!

Any idea?

farshad.A  Saturday, March 31, 2007 2:05 AM
I am also getting this problem on multiple machines, so if anyone can post a suggestion, it would be greatly appreciated!
Brenton House 2  Thursday, April 19, 2007 2:31 PM

Hey guys,


I have never heard of this problem before, but it may be a possible bug. However, since you have changed some of the registry, it will be hard for the team to reproduce and debug the problem. If you can figure out the exact repro steps, you should log a bug at the connect website: http://connect.microsoft.com/VisualStudio

thanks
,
James Lau
http://blogs.msdn.com/jameslau/

James Lau1  Friday, April 20, 2007 7:59 AM
I have the same problem, but our project is on a web server and I access it trough a mounted disk (network drive).

The only thing notable is that we are 3 programers on one project that build that project each from his own machine. Only the one who created the project has it in the recent list.

So if my co-worker starts a project, I can't see the project in my recent list, even if i build it or publish it.
WAR-DOG  Wednesday, October 14, 2009 11:15 AM

You can use google to search for other answers

Custom Search

More Threads

• Add-In that pops event when item saved.
• Any White Papers describing what is possible in Custom Build Tasks?
• Adding an item to a project when the path is known
• WindowsForms api for New Project Dialog
• is there any example that demonstrate how to extend the wizard in a c++ VS Package?
• vspackage : remove the add new item in the solution node context
• New TFS Integration: Mindjet Requirements Manager
• difference between IServiceProvider and System.IServiceProvider
• Is SVsQueryEditQuerySave service available in Isolated Shell?
• Can't find BuildAction property for web project files