TeamCity 4.0 Help

Visual Studio 2008

This page contains reference information for the sln2008 Build Runner that builds Microsoft Visual Studio 2008 solution files.

General settings

Option

Description

Build runner

Select sln2008 from the drop-down list.

Solution file path

Specify the path to the solution to be built relative to the build checkout directory. For example:

vs-addin\addin\addin.sln

Working directory

Specify the build working directory. (optional)

Targets

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

Configuration

Specify the name of MS VS 2008 solution configuration to build.

Platform

Specify the platform for the solution. You can leave this field blank, and TeamCity obtains this information from the solution settings.

MSTest test runner settings

MSTest Settings

Run MSTests

Check the box to enable running MSTest Support tests. If the option is not checked only NUnit test runner will be used.

Path to MSTest.exe

A path to MSTest.exe file. By default Build Agent will autodetect MSTest installation. One may use %\system.MSTest.9.0% to refer to found MSTest path

MSTest assemblies

A list of assemblies to run MSTests on. Will be mapped to /testcontainer:file argument

MSTest metadata

Enter a value for /testmetadata:file argument

Testlist from metadata to run

Every line will be translated into /testlist:line argument.

Test

Names of the tests to run. This option will be translated to the series of /test: arguments Check Add /unique commandline argument to add /unique argument to MSTest.exe

Results file

Enter a value for /resultsfile:file commandline argument.

Additional commandline parameters

Enter an additional commandline parameters for MSTest.exe

Last modified: 20 April 2023