TeamCity 9.x Documentation

[Documentation for Previous Versions]


You are viewing the documentation of TeamCity 9.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the [listing] to choose the documentation corresponding to your TeamCity version.

Skip to end of metadata
Go to start of metadata

This page contains reference information for the Visual Studio(sln) Build Runner that builds Microsoft Visual Studio 2005, 2008, 2010, 2012, 2013, and since Teamcity 9.1. Visual Studio 2015 solution files.
To build Microsoft Visual Studio 2003 solution files, use the Visual Studio 2003 runner.


The Visual Studio (sln) build runner requires the proper version of Microsoft Visual Studio installed on the build agent.

General Build Runner Options



Solution file path

Specify the path to the solution to be built relative to the Build Checkout Directory. For example:

Working directory

Specify the Build Working Directory. (optional)

Visual Studio

Select the Visual Studio version: 2005, 2008, 2010, 2012, 2013, 2015.


Specify the Microsoft Visual Studio targets specific for the previously selected Visual Studio version. The possible options are Build, Rebuild, Clean, Publish or a combination of these targets based on your needs. Multiple targets are space-separated.


Specify the name of Microsoft Visual Studio solution configuration to build (optional).


Specify the platform for the solution. You can leave this field blank, and TeamCity will obtain this information from the solution settings (optional).

Command line parameters

Specify additional command line parameters to be passed to the build runner. Instead of explicitly specifying these parameters, it is recommended to define them on the Parameters page.

See also:

Troubleshooting: Visual Studio logging

  • No labels