Visual Studio installation and uninstallation Template

Source: Internet
Author: User

Visual Studio has two types of templates: project templates and item templates.

1. Installed templates:

By default, templates installed with products are located in the following locations:

① \ <Visual Studio installation directory> \ common7 \ ide \ itemtemplates \ language \

② \ <Visual Studio installation directory> \ common7 \ ide \ projecttemplates \ language \

For example, c: \ Program Files \ Microsoft Visual Studio 9.0 \ common7 \ ide \ itemtemplates \

Ii. Custom templates
By default, a custom template is located in the following locations:

① \ My Documents \ Visual Studio 2008 \ Templates \ projecttemplates \ language \

② \ My Documents \ Visual Studio 2008 \ Templates \ itemtemplates \ language \

Example C: \ Documents ents and Settings \ USERNAME \ My Documents ents \ Visual Studio 2008 \ projecttemplates \ Visual C #\

3. install or uninstall the template (reset the Visual Studio template) command
① To install a new template, put the prepared template in the corresponding directory.
② To delete an old template, delete it in the corresponding directory.

Run the following command:

1. Disable all instances of Visual Studio.

2. Click "run" on the "Start" menu, type "cmd", and then click "OK ".

3. At the command prompt, locate the directory containing devenv.exe and type "devenv/setup ". (Fast execution speed, no response)

4. (It may take several minutes after Step 1 is completed, or restart the computer) Run Visual Studio again to find that your template has been installed or uninstalled.

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.