The TeamCity .NET plugin provides support for .NET tools in TeamCity. It simplifies building Windows and cross-platform applications that use .NET frameworks and libraries.
The plugin provides the following features:
- .NET build runner for .NET CLI, MSBuild, Visual Studio Test and Visual Studio Devenv
- .NET SDK and .NET tools detection on TeamCity build agents
- Auto-discovery of build steps
- On-the-fly test reporting
- Supports code coverage tools
- Cleanup of NuGet caches to meet the agent free space requirements
- Supports TeamCity Docker Wrapper
The plugin is compatible with
- TeamCity 2017.1+
- .NET CLI 1.0+
- Visual Studio 2013+
- MSBuild 12+
- VSTest console 12+
To use the dotnet
build runner, install .NET CLI and add the .NET CLI tools path to the PATH
environment variable.
You can also configure the DOTNET_HOME
environment variable for your TeamCity build agent user, for instance:
DOTNET_HOME=C:\Program Files\dotnet\
Tests might not be reported correctly for .NET Core xunit test projects when logging verbosity levels is minimal
or quiet
because of issue.
- Allows executing a C# script on Windows, Linux, or macOS
- Cleanup of NuGet caches to meet the agent free space requirements
- Supports TeamCity Docker Wrapper
The plugin is compatible with
The Inspections (ReSharper) build runner allows you to use the benefits of the JetBrains ReSharper code quality analysis feature right in TeamCity, with the help of the bundled JetBrains ReSharper Command Line Tools. You can use the tools within TeamCity without any additional ReSharper license. ReSharper analyzes your C#, VB.NET, XAML, XML, ASP.NET, ASP.NET MVC, JavaScript, HTML, CSS code, and allows you to:
- Find probable bugs
- Eliminate errors and code smells
- Detect performance issues
- Improve the code structure and maintainability
- Ensure the code conforms to guidelines, standards and specifications
The Duplicates finder (ReSharper) build runner, based on ReSharper Command Line Tools, is intended to catch similar code fragments and provide a report on the discovered repetitive blocks of C# and Visual Basic .NET code in Visual Studio 2003, 2005, 2008, 2010, 2012, 2013, and 2015 solutions.
This project uses gradle as a build system. You can easily open it in IntelliJ IDEA or Eclipse.
Please use our YouTrack to report related issues.