Compartilhar via


How to: Add a Dependency to a VSIX Package

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

You can set up a VSIX package deployment that installs any dependencies that are not already present on the target computer. To accomplish this, include the VSIX dependencies to the source.extension.vsixmanifest file.

To add a dependency

  1. Open the source.extension.vsixmanifest file in the Design view. Go to the Dependencies tab and click New.

  2. To add an installed extension: in the Add New Dependency dialog box, select Installed extension and then, for the Name, select an extension on the list.

  3. To add another VSIX that is not installed: : in the Add New Dependency dialog box, select File on file system and then use the Browse button to select the VSIX.

See Also

VSIX Extension Schema 1.0 Reference
Anatomy of a VSIX Package
Preparing Extensions for Windows Installer Deployment