How to restore unrecoverable damaged Visual Studio files

Source: Internet
Author: User
If Visual Studio is corrupted at runtime and cannot be restored from the corrupt state, you can use this parameter to reset Visual Studio to its initial state. Examples of these problems may include: the window layout file is damaged, the menu custom file is damaged, or the keyboard shortcut file is damaged. Disclaimer: If this parameter is used, all environment settings and custom settings are lost. For this reason, Microsoft does not publicly support this parameter and does not make it public (if you type devenv.exe/? In the command prompt line /?, You will not see this parameter ). If you encounter environment problems, use this method as a last resort and make sure that you have backed up the parameter before using the export environment settings.

To use this parameter, perform the following operations:

1.

Disable all Visual Studio 2005 instances.

2.

Click Start and select Run ...".

3.

Click "includevenv.exe/resetuserdata ".

This command runs for several minutes, while Visual Studio clears the settings and resets itself to its initial state. In this case, you can open task manager to check whether the devenv.exe process is still running. After running, you can restart Visual Studio. The first startup dialog box appears again, just like running Visual Studio for the first time on a computer.

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.