Visual Studio 2010 Template Modifications

Source: Internet
Author: User
Tags visual studio 2010

Using Visual Studio 2010 for a long time, also encountered a lot of problems, below to share some with you.

Template modification

Description

Main tools:

As an example of Visual Studio , the specific directory may differ depending on the installation directory, if there is a problem, you can leave a message

It is best to close the running Visual Studio

Main Purpose:

To modify the initialization template for a newly added file (aspx master, and so on)

Template to modify all pages or files when a new item is added

Steps:

1. Find the path

Project Template modifications

D:\Program Files (x86) \microsoft Visual Studio 10.0\common7\ide\itemtemplates\csharp\web\2052

Project Template modification

D:\Program Files (x86) \microsoft Visual Studio 10.0\common7\ide\projecttemplates\csharp\web\2052

2. Then modify the files inside the zip file to

3. Open the Visual Studio command Prompt (under the Visual Studio Tool folder under the Start menu Visual Studio directory), run

Devenv/installvstemplates

      

Note: This step is intended to allow Visual Studio to reload your modified template ( which may be inaccurate ) and then automatically

D:\Program Files (x86) \microsoft Visual Studio 10.0\common7\ide\itemtemplatescache

D:\Program Files (x86) \microsoft Visual Studio 10.0\common7\ide\projecttemplatescache

Create a template that can be applied to a project under the directory

4. Here you can use the

Visual Studio 2010 Template Modifications

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.