Project templates (how to make)

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

How do you make a project template like how the add-in project is? I need to
make my own custom template so I can create projects with predetermined sets
of items and settings. thanks!
 
On the simplest level, you can edit the default templates, which are stored
under the language directories of the Visual Studio install.

VB.NET
C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBWizards

C#
C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards

A bit higher up the chain is taking the same templates and saving them to
the subfolders that show up under Add >> New Item. They are in the same
branch (language specific). Create a new folder under one of the following
(web separate from non web):

VB.NET
C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBProjectItems\Local
Project Items
C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBProjectItems\Web
Project Items

C#
C:\Program Files\Microsoft Visual Studio .NET
2003\VC#\CSharpProjectItems\LocalProjectItems
C:\Program Files\Microsoft Visual Studio .NET
2003\VC#\CSharpProjectItems\WebProjectItems

The new folder will show up under the tree under add new item.

NOTE: You can also add directly to the web or local folder, if you do not
want to search down the tree for your items.

Beyond this, you have to create a wizard.
http://msdn.microsoft.com/library/d.../en-us/dv_vstechart/html/customprojectwiz.asp

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top