IWizard Interface

Defines the logic for a template wizard extension.

Namespace:  Microsoft.VisualStudio.TemplateWizard
Assembly:  Microsoft.VisualStudio.TemplateWizardInterface (in Microsoft.VisualStudio.TemplateWizardInterface.dll)

public interface IWizard

The IWizard type exposes the following members.

Public methodBeforeOpeningFileRuns custom wizard logic before opening an item in the template.
Public methodProjectFinishedGeneratingRuns custom wizard logic when a project has finished generating.
Public methodProjectItemFinishedGeneratingRuns custom wizard logic when a project item has finished generating.
Public methodRunFinishedRuns custom wizard logic when the wizard has completed all tasks.
Public methodRunStartedRuns custom wizard logic at the beginning of a template wizard run.
Public methodShouldAddProjectItemIndicates whether the specified project item should be added to the project.

Template wizard extensions are run when vsprvs is instantiating a project or item from a template. For more information, see How to: Use Wizards with Project Templates.

Community Additions