Download

You can download the Teamscale Visual Studio plugin by using the integrated extension manager in Visual Studio by searching for Teamscale or by downloading the Plugin from here:

Teamscale Visual Studio plugin in the Microsoft Visual Studio Gallery


Installation via the extension manager has the added benefit of automatically being notified about new updates, as they get published.



Section 1 'Installation' only applies if you did not use the Visual Studio extension manager, if you used the extension manager, continue with Section 2 'Configure a Teamscale Server'.

1. Installation

  1. Double click on the Teamscale.vsix Extension file and the following dialog should appear:
  2. Click Install
  3. Restart Visual Studio

2. Configure a Teamscale Server

Next you have to configure a Teamscale server, so that the plugin knows from where to fetch the findings.
  1. Click Tools > Teamscale Options…
  2. Click Add
  3. In opened dialog enter the Teamscale Server ID (this name is later references from project mappings), the Teamscale Server URL, your username and api key.
  4. Click Save. The dialog should close if validation of the connection was successful.

3. Configure Project Mapping

Next you have to supply a project mapping, so that the plugin knows which Teamscale Project belongs to which code on the hard drive.

  1. Click Tools > Teamscale Options…
  2. On the left hand side select Teamscale > Project Mapping
  3. Click Add
  4. In the opened dialog select the Teamscale Server and Project . Choose the local folder you want to map the Teamscale Project to and optionally specify a sub-path of the project on the server (this can be left blank in most cases).
  5. Click Save
  6. Reopen the currently opened Solution if it corresponds to the configured project

4. Inspect Findings

After the previous steps have been completed successfully you should now be able to explore findings in your code.

  1. Findings in the opened document should be marked with a red bar on the left margin
  2. Hovering with the mouse over the margin will show a tooltip containing the description of the finding
  3. To show all findings of a file, either right click in the current editor or the Solution Explorer and select Teamscale > Show Findings
  4. In the findings list one can double click to jump to the finding in the code