Clear recently opened projects and files, searched content, and recently referenced components of Visual Studio (taking Visual Studio 2005 as an example ):
Visual Studio always keeps records of recently opened projects and files, as well as the content to be searched, as well as recently referenced components, and even deleted projects, but does not delete them in Visual Studio. The following describes several deletion methods:
First, create a BAT file and double-click it to clear it.CodeAs follows:
@ Echo off
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ filemrulist/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ projectmrulist/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ find/VA/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ componentpickerpages/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ object_browser/F
@ Reg Delete "hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ Class View"/VA/F
RD/S/q c: \ w.e ~ 1 \ admini ~ 1 \ mydocu ~ 1 \ visual ~ 1 \ backup ~ 1 (delete Backup Files Folder command)
RD/S/q c: \ w.e ~ 1 \ admini ~ 1 \ mydocu ~ 1 \ visual ~ 1 \ Settings
RD/S/q c: \ w.e ~ 1 \ admini ~ 1 \ mydocu ~ 1 \ visual ~ 1 \ templates
--------------------------------------------------------------------------
Type 2: manually clear it in the registry, which is cumbersome
1) Delete recently opened files
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ filemrulist, delete the corresponding key value on the right.
2) Delete recently opened Projects
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ projectmrulist, delete the corresponding key value on the right.
3) Delete the latest search content
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ find, delete the corresponding key value on the right.
4) Delete recently referenced Components
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ componentpickerpages, delete the corresponding key value on the right.
5) Delete the browsing content of the last object
Hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ object_browser, delete the corresponding key value on the right.
6) Delete the latest Class View search content
Hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ Class View, delete the corresponding key value on the right.