Deploy a layer model extension

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

Other users of Visual Studio can install layer modeling extensions that you create by using Visual Studio.

Installing your extension

Your extension is compiled to a VSIX file, which you can install on other computers. You can also install it on your development computer, to make the extension available in the main instance of Visual Studio.

To install the extension

  1. In the project that contains source.vsix.manifest, open bin\\* in File Explorer.

  2. Copy the *.vsix file to the computer on which you want to install the extension.

  3. On the target computer, double-click the *.vsix file in Windows Explorer.

    The VSIX installer opens.

To uninstall the extension

  1. In Visual Studio, on the Tools menu, click Extensions and Updates.

  2. Click the name of the extension and then click Uninstall.

Installing an Extension on a Team Foundation Build Server

Team Foundation Build servers do not normally have Visual Studio installed, and so you cannot install the VSIX by double-clicking it. The installation of Team Foundation Build includes some components that allow a VSIX extension to run, but you must install the extension manually.

To install your layer extension on a Team Foundation Build Server

  1. Copy the .vsix files from your development computer to the Team Foundation Build computer.

    Place the VSIX file in one of the following locations:

    • To install for all users and services:

      %ProgramFiles%\Microsoft Visual Studio [version]\Common7\IDE\Extensions\Microsoft

    • To install only for the network service that runs Team Foundation Build:

      %WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\VisualStudio\[version]\Extensions\Microsoft

    • If you have configured Team Foundation Build to run in interactive mode as a particular user, you can install just for that user:

      %LocalAppData%\Microsoft\VisualStudio\[version]\Extensions\Microsoft

      Note

      %LocalAppData% is typically DriveName:UsersUserNameAppDataLocal.

  2. Expand each VSIX file into a folder in the same location:

    1. Change the file name extension from .vsix to .zip.

    2. Extract the content of the .zip file to a folder.

    3. Delete the .zip file

  3. Restart Team Foundation Build.