sln2008

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 3.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Documentation Index

sln2008

This page contains reference information for the sln2008 Build Runner that builds Microsoft Visual Studio 2008 solution files. Note that sln2008 works the same as sln2005 only it uses MSBuild from .NET version 3.5

Please note that the page was restructured between versions 3.0 and 3.1. Please refer to the applicable description: 3.0 or 3.1.

The sln 2008 Runner Page in Version 3.0

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 Working Directory.
Example:
Artifact Paths Specify artifacts as a comma-separated string.
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.
Run NUnit/VSTS Unit tests for Specify the .Net assemblies, where the NUnit tests to be run are stored. Multiple entries are comma-separated; usage of MSBuild wildcards is enabled.
In the following example, TeamCity will search for the tests assemblies in all project directories and run these tests.
Note
All these wildcards are specified relative to the project directory.
Do not run NUnit/VSTS Unit tests for Specify .Net assemblies that should excluded from the list of found assemblies to test. Multiple entries are comma-separated; usage of MSBuild wildcards is enabled.
 In the following example, TeamCity will omit tests specified in this directory.
Note
All these wildcards are specified relative to the project directory.
Build Working Directory Specify the Build Working Directory.

The sln 2008 Runner Page in Version 3.1

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.
Example:
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.
Run NUnit/VSTS Unit tests for Specify the .Net assemblies, where the NUnit tests to be run are stored. Multiple entries are comma-separated; usage of MSBuild wildcards is enabled.
In the following example, TeamCity will search for the tests assemblies in all project directories and run these tests.
Note
All these wildcards are specified relative to path that contains the solution file.
Do not run NUnit/VSTS Unit tests for Specify .Net assemblies that should excluded from the list of found assemblies to test. Multiple entries are comma-separated; usage of MSBuild wildcards is enabled.
 In the following example, TeamCity will omit tests specified in this directory.
Note
All these wildcards are specified relative to path that contains the solution file.

See also:

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.