MSBuild
note
Since TeamCity 2019.2.3, we have stopped providing active support for the MSBuild runner. We recommend using the .NET runner with the
msbuild
command instead as it provides more features and is actively updated. For more details on migration, refer to the .NET runner description.For compatibility, the MSBuild runner will be bundled with the nearest future versions of TeamCity. You can continue using it if migration to the .NET runner is too time-consuming for your setup.
However, we will unbundle this runner after a sufficient transition period. In this case, you will still be able to install it as an external plugin. Remember to check our upgrade notes before upgrading to each following version.
note
The MSBuild runner requires .NET Framework or Mono installed on the build agent. Microsoft Build Tools 2013-2019 are supported.
Before setting up a build configuration to use MSBuild as the build runner, make sure you are using an XML build project file with the MSBuild runner.
To build a Microsoft Visual Studio solution file, you can use the Visual Studio (sln) build runner.