-
Notifications
You must be signed in to change notification settings - Fork 205
How to use a custom wizard
TODO: These notes should be improved.
I've pushed the sample to a new remote branch CustomWizardSample https://github.com/ligershark/side-waffle/tree/CustomWizardSample. Take a look at the commits for details but I had to make the following changes to get a custom wizard to light up in SideWaffle. FYI I had to make changes in the master branch to facilitate this so get latest on master when you start your actual work.
-
Add a new Class Library project to the solution to contain custom wizard code. Implement custom wizard in that project.
-
Add a ref to that class lib in TemplatePack project (this is the VSIX Project)
-
Add an Asset tag to the .vsixmanifest for the assembly. See https://github.com/ligershark/side-waffle/blob/CustomWizardSample/TemplatePack/source.extension.vsixmanifest#L27
-
Add the project you want to make a template out of to the solution
-
Add a TemplateReference in TemplatePack project to the project from the previous step (right click Add -> Add SideWaffle Project)
-
Add the .vstemplate and _preprocess.xml file using the SideWaffle Project Template Files item template
-
Update the .vstemplate file to reference the custom wizard. See https://github.com/ligershark/side-waffle/blob/CustomWizardSample/Project%20Templates/SampleCustomWizard/_Definitions/_project.vstemplate.xml#L24
After that you can CTRL+F5 / F5 to create a new project from your template and the custom wizard should be invoked.