Creating a Visual Studio Wizard

Visual Studio makes heavy use of wizards to help guide developers through various tasks. The Add-in Wizard that we discussed in the previous sections is one such example of a New Project Wizard (it is launched when you try to create a new add-in project). There are also wizards for adding new items to projects. You can modify the existing Project/Add New Item wizards or create your own wizard complete with its own user interface. Finally, there are custom wizards that, like the other wizards, are responsible for generating code but are not called from a Visual Studio dialog box.

In the following sections, we focus on understanding the wizard landscape by creating a custom Add New Item Wizard.

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.