TeamCity 9.0 Help

Visual Studio Addin

The TeamCity add-in for Microsoft Visual Studio provides the following features:

  • Remote Run for TFS, Subversion and Perforce (for remote run for Mercurial and Git see Branch Remote Run Trigger),

  • Pre-Tested (Delayed) Commit for TFS, Subversion and Perforce,

  • fetching JetBrains dotCover coverage analysis data from the TeamCity server (see more) to MS Visual Studio (requires dotCover of the supported version installed in Visual Studio),

  • viewing recently committed changes and personal builds with their build status in the My Changes tool window,

  • opening build failure details in MS Visual Studio from the TeamCity web UI,

  • viewing failed tests' details for a build,

  • re-runing tests failed in the TeamCity build locally via the ReSharper test runner (requires ReSharper 5.0 installed),

  • navigation from the IDE to the build results web page,

  • re-applying changes sent in Remote Run or Pre-tested commit to the working directory.

For detailed instructions, refer to the TeamCity Add-in Help section in Visual Studio.

Installing the Add-in

The TeamCity VS Add-in version must correspond to the version of the TeamCity server it connects to. Connections to TeamCity servers with different versions are generally not supported.

  1. Close all running instances of Visual Studio before starting the Add-in installation (initial or upgrade).

  2. Navigate to the download page of the Visual Studio Add-in: a) Click the arrow next to your username in the top right corner of the TeamCity web UI and select My Settings&Toolsb) In the TeamCity Tools section on the right, click the Visual Studio Add-in download link.

  3. Select the appropriate version of the TeamCity Visual Studio Add-in and click the link to download the installer. There are two versions of the Visual Studio A dd-in:

    • The TeamCity Visual Studio Add-in is shipped as a part of ReSharper Ultimate products bundle since TeamCity 9.0. This is the installer for the TeamCity Visual Studio Add-in. After installation, the TeamCity Add-in will be available under the RESHARPER menu in Visual studio. Note that t he installer will remove the pre-bundle products versions: TeamCity and ReSharper versions prior to 9.0, dotCover prior to 3.0, dotTrace prior to 6.0.

    • The Legacy version of TeamCity VS Add-in(a vailable for Visual Studio versions from 2005 to 2013 and compatible with JetBrains .NET tools prior to ReSharper 9.0, dotCover 3.0 and dotTrace 6.0.) should be chosen if - you are using the versions of JetBrains .Net tools integrated with Visual Studio prior to ReSharper Ultimate and not planning to upgrade (the new TeamCity VS Add-in web installer will remove the pre-bundle products versions) - you are using the Visual Studio versions 2005 and 2008 not supported by the ReSharper Ultimate.

The TeamCity Add-in installed as a part of ReSharper Ultimate will not use the settings provided by the 8.1 version. The legacy add-in downloaded from theTeamCity server will use the settings from the previous version.

Requirements

See the Supported Platforms and Environment page for the system requirements to configure integration with different version control systems or coverage tools.

Related blog posts: TeamCity plugin for Visual Studio@TeamCity blog

Last modified: 20 April 2023