Export (0) Print
Expand All

Anatomy of a VSIX Package

A VSIX package is a .vsix file that contains one or more Visual Studio extensions, together with the metadata that Extension Manager uses to classify and install the extensions. That metadata is contained in the VSIX manifest and the [Content_Types].xml file. A VSIX package may also contain one or more Extension.vsixlangpack files to provide localized Setup text, and may contain additional VSIX packages to install dependencies.

Note Note

Names of files included in VSIX packages must not include spaces, nor characters that are reserved in Uniform Resource Identifiers (URI), as defined under [RFC2396].

The VSIX manifest contains information about the extension to be installed, and follows the VSX Schema. For more information, see VSIX Extension Schema 1.0 Reference. For an example VSIX manifest, see PackageManifest Element (Root Element, VSX Schema).

The VSIX manifest must be named extension.vsixmanifest when residing in a .vsix file.

The [Content_Types].xml file identifies the file types in the expanded .vsix file. Visual Studio uses this file during installation of the package but does not install the file itself.

A [Content_Types].xml file is required by the Open Packaging Conventions (OPC) standard. For more information about OPC, see OPC: A New Standard For Packaging Your Data on the MSDN Web site.

A VSIX package may carry templates, toolbox items, VSPackages, or any other kind of extension that is supported by Visual Studio. For a list of supported extension types, see PAVE Visual Studio Extension Deployment.

A VSIX package may contain once or more Extension.vsixlangpack files to provide localized text during installation. For more information, see Localizing VSIX Packages.

A VSIX package may contain other VSIX packages as references. Each of these other packages must include its own VSIX manifest.



VSIX Extension Schema 1.0 Reference

Describes the schema requirements for a VSIX manifest file.

[Content_types].xml (VSIX Deployment)

Describes the requirements of a [Content_Types].xml file for a .vsix package.

VSX Language Pack Schema Reference

Describes the schema requirements for a .vsixlangpack file.



PAVE Visual Studio Extension Deployment

Describes the deployment strategies that are available for Visual Studio extensions.

VSIX Project Template

Provides step-by-step instructions for wrapping an extension in a VSIX package and publishing the package.

How to: Add a Reference to a VSIX Package

Shows how to add a reference to a VSIX package.

Localizing VSIX Packages

Shows how to provide localized installation text for a VSIX package.

© 2014 Microsoft