Creating Your First Add-in Project

The simplest way to get started with add-ins is to run the Add-in Wizard. As with the macro recorder, the wizard gives you a starting point for implementing your own add-ins. You can learn a great deal about the makeup of an add-in by examining the code the Add-in Wizard creates.

The Add-in Wizard launches whenever you try to create a new project of the type Visual Studio Add-in. From the File, New Project dialog box, select the Extensibility node in the project types tree (in Other Project Types, Extensibility). From here, you can see two project templates: Visual Studio Add-in and Shared Add-in (see Figure 15.1).

Figure 15.1 Selecting the Visual Studio Add-in Project Type.

We touch on the differences between ...

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.