Clear traces of projects and files opened by Visual Studio, searches for and recently referenced Components

Source: Internet
Author: User
Tags visual studio 2010

Source: http://www.cnblogs.com/losesea/archive/2012/11/07/2759372.html

 

Clear recently opened projects and files, searched content, and recently referenced components of Visual Studio (taking Visual Studio 2010 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 \ 10.0 \ filemrulist/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 10.0 \ projectmrulist/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 10.0 \ find/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 10.0 \ componentpickerpages/F
@ Reg Delete hkcu \ Software \ Microsoft \ visualstudio \ 10.0 \ object_browser/F

 

Type 2: manually clear it in the registry, which is cumbersome

1) Delete the recently opened file
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ filemrulist, and delete the corresponding key value on the right.
2) Delete the recently opened project
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ projectmrulist, and delete the corresponding key value on the right.
3) Delete the recently searched content
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ find, and delete the corresponding key value on the right.
4) Delete the recently referenced component
HKEY_CURRENT_USER \ Software \ Microsoft \ visualstudio \ 10.0 \ componentpickerpages, and delete the corresponding key value on the right.
5) Delete the last object browsing content
hkcu \ Software \ Microsoft \ visualstudio \ 8.0 \ object_browser, and 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.