/VsixItemTemplates

Primary LanguageC#Apache License 2.0Apache-2.0

Extensibility Template Pack

Build status

A template pack for Visual Studio extension authors that provide useful project and item templates.

Download this extension from the Marketplace or get the CI build.


Project Templates

The project templates are simplified versions of the existing VSIX Project and Empty VSIX Project templates that ship with Visual Studio. They also include a reference to the Community.VisualStudio.Toolkit NuGet package, which makes extension development a lot easier.

All templates can be found in the New Project Dialog.

New Project Dialog

VSIX Project (Community)

This template generates a VSIX project with an AsyncPackage class, an extension icon, and NuGet references to the VSSDK.

VSIX Project

VSIX Project w/Command (Community)

Same as the VSIX Project (Community) template, but also includes a custom command.

VSIX Project

VSIX Project w/Tool Window (Community)

Same as the VSIX Project (Community) template, but also includes a custom command and tool window.

VSIX Project

Empty VSIX Project (Community)

This template generates an empty VSIX project with only an extension icon and NuGet references to the VSSDK.

Empty VSIX Project


Item Templates

All templates can be found in the Add New Item Dialog.

Add New Items

The templates marked (Community) can be used with the Community.VisualStudio.Toolkit NuGet package.

The templates marked (Modern) can be used with the regular Visual Studio SDK. They are a modern version of the original templates, but follow best practices and are much simpler.

In addition, there are several other templates available.

Add New Items2

License

Apache 2.0