farshad.A

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




Re: Visual Studio Extensibility VS does not save most recent projects

Carlos Quintero - MVP

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 and delete the ProjectMRUList. Then, open one (and only one) IDE instance and test it projects are stored in the MRU list.






Re: Visual Studio Extensibility VS does not save most recent projects

farshad.A

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, VS neither saves, nor loads recent files list.

Since I couldn't see any similar problem happened for others --none of my friends have chosen this kind of installation, and my search in the 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!






Re: Visual Studio Extensibility VS does not save most recent projects

Carlos Quintero - MVP

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...






Re: Visual Studio Extensibility VS does not save most recent projects

farshad.A

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

The IDE 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 locations it 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 sense of saving\loading MRU, or it's doing it! But I'm almost sure 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!!






Re: Visual Studio Extensibility VS does not save most recent projects

farshad.A

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






Re: Visual Studio Extensibility VS does not save most recent projects

Brenton House 2

I am also getting this problem on multiple machines, so if anyone can post a suggestion, it would be greatly appreciated!



Re: Visual Studio Extensibility VS does not save most recent projects

James Lau

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/