Clear recently opened projects, files, search content, and recently referenced components of Visual Studio

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.