次の方法で共有


Registering VSPackages

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

In This Section

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.