Build steps for .Net project in TeamCity

In this topic, we will learn how to add build steps for .Net project in TeamCity.

Some of the popular build steps for .Net project are given below.

  1. .Net process runner
  2. MSBuild
  3. Visual Studio tests
  4. Visual Studio project (.sln)

Below image shows how to configure MSBuild runner.

MSBuild runner in TeamCity

MSBuild runner in TeamCity

Below image shows how to configure Visual studio tests runner. There are 2 types of Test Engines available for running tests.

  1. MSTest
  2. VSTest
Visual Studio Tests runner in TeamCity

Visual Studio Tests runner in TeamCity

Below image shows the sample build log for above configuration.

.Net test build log in TeamCity

.Net test build log in TeamCity

You may also like...