We recommend using Visual Studio 2017

Registering VSPackages

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Registering VSPackages.

Visual Studio relies on .pkgdef files to describe and locate a VSPackage. A .pkgdef file contains all the registration information that would otherwise be added to the system registry. Managed VSPackages are registered by adding attributes to the source code and then running the CreatePkgDef Utility on the resulting assembly to generate a .pkgdef file.

Specifying VSPackage File Location to the VS Shell
Describes the loading path for VSPackages.

Registering and Unregistering VSPackages
Explains how to register a VSPackage.

Using a Custom Registration Attribute to Register an Extension
Describes how to create a registration manifest that can be used to deploy a managed VSPackage.

Show: