Q

How can I modify all the project templates on my workstation?

VS.NET ships with a great deal of project templates. I'd like to modify all the templates on my workstation (and further, my development team) so that when a project is created (or a new class/form/webservice/control/library/etc. file), it is populated with set #region and comment declarations to make all of our code look identical. How can I do that?
You should not modify any of the existing templates, because the next time you upgrade to a new version of VS.NET, all your changes will be in jeopardy. Instead, you should create new templates, which will still show up in VS.NET where the existing templates show up, but will be safe from the ravages of the VS.NET installer.

For a description of how to build your own custom templates, I recommend reading "Adding Custom Project Item Templates to VS.NET for C# Programmers" or "Adding Custom Project Item Templates to VS.NET for VB.NET Programmers."

This was last published in November 2002

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close