Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you clear your MRU list in Visual Studio?

I want to clear the list of projects on the start page...how do I do this? I know I can track it down in the registry, but is there an approved route to go?

like image 282
Gordon Mackie JoanMiro Avatar asked Sep 17 '08 12:09

Gordon Mackie JoanMiro


People also ask

How do I delete recent projects in Visual Studio 2015?

To remove a single project from Recent Projects list you can right click on the project and select remove. (The screenshot is in Italian, but it's clear.) Have to restart visual studio to get it removed from the file -> recent project list.

How do I remove recent projects from VS code?

Press Ctrl + Shift + P. Then, within the Quick Open bar, type in >Clear Recently Opened.

How do I delete recent projects in Visual Studio 2008?

An easier solution and safer then using the registry to remove individual projects is to rename the . sln file. In VS 2008, click on the project. You will be prompted that it can no longer be found and do you want to remove it from the list.


2 Answers

There is an MSDN article here which suggests that you just move the projects to a new directory.

However, as you mentioned, the list of projects is kept in the registry under this key:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\ProjectMRUList 

and the list of recent files is kept in this key:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\FILEMRUList 

Note For Visual Studio 2015:
The location has changed. You can check out this answer for details.

Some people have automated clearing this registry key with their own tools:
Visual Studio Most Recent Files Utility
Add-in for cleaning Visual Studio 2008 MRU Projects list

like image 73
5 revs, 2 users 90% Avatar answered Oct 10 '22 01:10

5 revs, 2 users 90%


PowerCommands for Visual Studio 2008

Features

  • Clear Recent File List
  • Clear Recent Project List
  • Clear All Panes
  • Copy Path
  • Email CodeSnippet
  • Insert Guid Attribute
  • Show All Files
  • Undo Close
  • Collapse Projects
  • Copy Class
  • Paste Class
  • Copy References
  • Paste References
  • Copy As Project Reference
  • Edit Project File
  • Open Containing Folder
  • Open Command Prompt
  • Unload Projects
  • Reload Projects
  • Remove and Sort Usings
  • Extract Constant
  • Transform Templates
  • Close All

alt text

like image 40
CoderHawk Avatar answered Oct 10 '22 03:10

CoderHawk