Share via


IWizard2 Interface

Definition

Optional interface for template wizards. This interface supports scenarios where the solution hierarchy location for adding new items is different from the current hierarchy selection -- for example, wizards running in a Visual Studio Codespace won't have a selection in the solution hierarchy.

public interface class IWizard2 : Microsoft::VisualStudio::TemplateWizard::IWizard
public interface IWizard2 : Microsoft.VisualStudio.TemplateWizard.IWizard
type IWizard2 = interface
    interface IWizard
Public Interface IWizard2
Implements IWizard
Implements

Methods

BeforeOpeningFile(ProjectItem)

Called before a project item is opened within the editor.

(Inherited from IWizard)
ProjectFinishedGenerating(Project)

Called when the project has finished being generated.

(Inherited from IWizard)
ProjectItemFinishedGenerating(ProjectItem)

Called when a project item has finished being generated.

(Inherited from IWizard)
RunFinished()

Called when the wizard has finished generating outputs.

(Inherited from IWizard)
RunStarted(Object, Dictionary<String,String>, WizardRunKind, Object[])

Called as the template file begins to be processed.

(Inherited from IWizard)
RunStarted(Object, Dictionary<String,String>, WizardRunKind, Object[], IVsProject, UInt32)

Called as the template file begins to be processed.

ShouldAddProjectItem(String)

Called to query if a project item should be added to a project.

(Inherited from IWizard)

Applies to