MSBuild

The MSBuild bundled plugin runs the Microsoft Build Engine, a platform for building applications.

Prerequisites

Before you can use the MSBuild plugin in a chain, you need to install MSBuild on an agent and add it as a capability. For details, see Add capabilities to agents.

Back to top

Configuration

When you add the MSBuild plugin step to a chain, specify the following configuration details:

Field Description
Title Enter a name for this plugin step.
Project file

(Optional) Enter a path to the .*proj or .sln, relative to stream's root.

The plugin builds the targets in the specified project file. To use a .proj file in the current working directory, leave the field empty.

You can also specify a Visual Studio solution file for this argument.

MSBuild executable location (Optional) Enter the path to the MSBuild executable. To use the location defined in your path, or system search path, leave this field empty.
Options

(Optional) Enter any additional options, for example:

/t:Build
/p:Configuration=Debug

For details, see the MSBuild Command-Line Reference.

Environment variables

(Optional) Specify environment variables that will override other settings for this chain. Enter each variable on a separate line in this format:

KEY=VALUE

Back to top

See also: