I created a wizard for a custom template in VS2010. And it works like a charm.
But since the wizard contains the form necessary to complete the creation of the project, I feel that the user should be able to cancel the creation of the project.
So my question is ...
Can I cancel the creation of a project / template process inside a wizard that implements IWizard?
These are the events that I received at my disposal.
public void BeforeOpeningFile(ProjectItem projectItem) public void ProjectFinishedGenerating(Project project) public void ProjectItemFinishedGenerating(ProjectItem projectItem) public void RunFinished() public void RunStarted(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams) public bool ShouldAddProjectItem(string filePath)
Thanks!
source share