Create a Template Wizard using "Text template Transformation toolkit"

Jan 4, 2012 at 6:03 AM


I have created a template which generates a C# code at run time. I wanted to use this template in Visual Studio either as a "Project Template" or an "Item Template". I know how to use this as a Project Template or Item Template.

The main question here is that, This template needs user input for code creation. So I wanted to display a Wizard when the user selects "My Template" while adding new project or new template.

How to get the solution for above problem? I wanted to use T4 Templates only.

Jan 17, 2012 at 10:55 AM

I got the answer for this.

Search for the IWizard and How to use it.


Also go through following links.




Anyone searching for this will come to know how to do this.

Thanks & Regards,

Mayur Mahajan