How do I set up default links for a new project?

I may not have searched correctly, but I cannot find out how to set up a default set of links for a new project.

I am not using System.Data and System.Xml for EVERY project. There seems to be something I need to tweak.

Thanks in advance.

+2


source to share


2 answers


The set of links added to a new project is determined by a specific project template. Project templates are a fairly general concept, and there is no way to control elements such as a set of links.



What you can do is create a new project template that is a mirror of the regular template and remove these references from the project file. Just copy the default template from it (in the ProjectTemplatesCache folder in Visual Studio) to a user-defined folder under Visual Studio 2008 in My Documents. You will also want to rename it in a separate window. After that, the new template will be displayed in the new project dialog box.

+2


source


Project templates containing links are stored in ZIP files appropriate for the project type.

You can make a backup and then modify the original template to suit your needs.



The exact path will depend on your version of Visual Studio. I am on an old PC with VS2005 installed and found this path:

C: \ Program Files \ Microsoft Visual Studio 8 \ Common7 \ IDE \ ProjectTemplates \ CSharp \ Windows \ 1033

+1


source







All Articles