Share via


Deploying a Layer Modeling Extension

Users of Visual Studio Premium and Visual Studio Ultimate can install layer modeling extensions that you create by using Visual Studio Ultimate.

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 Windows 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 Extension Manager.

  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 11.0\Common7\IDE\Extensions\Microsoft

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

      %WinDir%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\VisualStudio\12.0\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\12.0\Extensions\Microsoft

      Note

      %LocalAppData% is typically DriveName:\Users\UserName\AppData\Local. On Windows XP or Windows 2003, use %AppData% instead of %LocalAppData%.

  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.