Creating a Visual Studio Extension

This VSIX project enables developers to take advantage of the extensibility APIs in the Visual Studio 2015 IDE Software Development Kit. The solution contains a VSIX project that packages the extension into a VSIX file. This file is used to install an extension for Visual Studio.

To add new features to the extension:

  1. Right-click the project node in Solution Explorer and select Add>New Item.
  2. In the Add New Item dialog box, expand the Extensibility node under Visual C# or Visual Basic.
  3. Choose from the available Item templates: Visual Studio Package, Editor Items (Classifier, Margin, Text Adornment, Viewport Adornment), Commands, Tool Window, etc., and then click Add.

The files for the template that you selected are added to the project. You can start adding functionality to your item template, press F5 to run the project, or add another Item template.

To run the project, press F5. Visual Studio will:

  • Build the extension from the VSIX project.
  • Create the VSIX package from the VSIX project.
  • When debugging, start an experimental instance of Visual Studio with the VSIX package installed.

In the experimental instance of Visual Studio you can test out the functionality of your extension without affecting your Visual Studio installation.

Visual Studio Extensibility Resources

Check out the VS Extensibility Dev Center, the extensibility samples, and the extensibility documentation to learn more about building extensions.

Community Extensions

Here you can see other extensions that the Visual Studio Community has developed

Give us feedback

UserVoice