views:

48

answers:

3

Hi Everybody,

I want to create a custom project template with wizard i.e. when I create a new project, I will select my custom project template and it will immediatly show me the wizard or a screen which takes some form of input and process that input and creates corresponding project. Is it possible to do that same? I have googled a lot but to no avail becoz I found most of the samples which just creates the template but not the wizard.

I want to develop a project template same as ASP.NET MVC, when we create a new ASP.NET MVC project it asks for the test cases an the stuff (A screen appears which asks for some input and based on that input it creates a MVC web application).

A: 

You can use Castle MonoRail VS integration project as a sample https://svn.castleproject.org/svn/castle/trunk/Tools/VSNetWizard or via FishEye http://fisheye2.atlassian.com/browse/castleproject/trunk/Tools/VSNetWizards

Sergey Mirvoda
A: 

MSDN documentation about VS Templates. In particular, how to create a wizard for template project customization.

And here's an old tutorial about how to create a simple VS Template.

Franci Penov
A: 

You have to create an assembly containing an implementation of Microsoft.VisualStudio.TemplateWizard.IWizard and installit in the GAC, then add a corresponding tag in the template description file.

ulu