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