Microsoft.Testing.Platform.MSBuild 2.2.1

Microsoft.Testing.Platform.MSBuild

Microsoft.Testing.Platform.MSBuild provides the MSBuild tasks needed for Microsoft.Testing.Platform, including entry-point generation and test configuration file support.

Microsoft.Testing.Platform is open source. You can find Microsoft.Testing.Platform.MSBuild code in the microsoft/testfx GitHub repository.

Install the package

dotnet add package Microsoft.Testing.Platform.MSBuild

About

This package provides:

  • Entry-point generation: generates the required entry point for Microsoft.Testing.Platform test projects
  • Configuration file support: copies testconfig.json from the project into the output directory as $(AssemblyName).testconfig.json
  • dotnet test compatibility: enables running MTP-based test projects through the VSTest-based dotnet test command on .NET SDKs

This package is typically not referenced directly. Instead, test framework packages (such as MSTest) reference it automatically.

Documentation

For this package, see https://learn.microsoft.com/dotnet/core/testing/microsoft-testing-platform-intro#use-dotnet-test.

For comprehensive documentation, see https://aka.ms/testingplatform.

Feedback & contributing

Microsoft.Testing.Platform is an open source project. Provide feedback or report issues in the microsoft/testfx GitHub repository.

Showing the top 20 packages that depend on Microsoft.Testing.Platform.MSBuild.

Packages Downloads
xunit.v3.core.mtp-v1
Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Includes support for Microsoft.Testing.Platform v1. Supports .NET Framework 4.7.2 or later and .NET 8 or later.
182
xunit.v3.core
Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Supports .NET Framework 4.7.2 or later and .NET 8 or later.
7
xunit.v3.core
Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Supports .NET Framework 4.7.2 or later and .NET 6.0 or later.
6
xunit.v3.core
Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Supports .NET Framework 4.7.2 or later and .NET 8 or later.
6
xunit.v3.core.mtp-v1
Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Includes support for Microsoft.Testing.Platform v1. Supports .NET Framework 4.7.2 or later and .NET 8 or later.
6

.NET 8.0

.NET 9.0

.NET Standard 2.0

Version Downloads Last updated
2.2.1 2 04/09/2026
2.1.0 6 02/03/2026
2.0.2 6 01/27/2026
2.0.1 6 01/27/2026
2.0.0 6 01/27/2026
2.0.0-preview.25480.4 6 01/27/2026
2.0.0-preview.25465.3 6 01/27/2026
2.0.0-preview.25454.2 6 01/27/2026
2.0.0-preview.25452.10 5 01/27/2026
2.0.0-preview.25415.9 6 01/27/2026
2.0.0-preview.25411.5 6 01/27/2026
2.0.0-preview.25372.6 6 01/27/2026
2.0.0-preview.25358.7 6 01/27/2026
1.9.1 182 01/26/2026
1.9.0 6 01/27/2026
1.8.5 6 01/27/2026
1.8.4 6 01/27/2026
1.8.3 6 01/27/2026
1.8.2 6 01/27/2026
1.8.1 6 01/27/2026
1.8.0 6 01/27/2026
1.7.3 6 01/27/2026
1.7.2 6 01/27/2026
1.7.1 6 01/27/2026
1.7.0 6 01/27/2026
1.7.0-preview.25167.10 6 01/27/2026
1.6.3 7 01/26/2026
1.6.2 6 01/27/2026
1.6.1 6 01/27/2026
1.6.0 6 01/27/2026
1.5.3 6 01/27/2026
1.5.2 6 01/27/2026
1.5.1 6 01/27/2026
1.5.0 6 01/27/2026
1.4.3 6 01/27/2026
1.4.2 6 01/27/2026
1.4.1 6 01/27/2026
1.4.0 6 01/27/2026
1.4.0-preview.24422.11 6 01/27/2026
1.4.0-preview.24415.5 6 01/27/2026
1.3.2 6 01/27/2026
1.3.1 6 01/27/2026
1.3.0-preview.24325.7 6 01/27/2026
1.2.1 6 01/27/2026
1.2.0 6 01/27/2026
1.1.0 6 01/27/2026
1.1.0-preview.24163.4 6 01/27/2026
1.0.2 6 01/27/2026
1.0.1 6 01/27/2026
1.0.0 6 01/27/2026
1.0.0-preview.24068.6 6 01/27/2026
1.0.0-preview.23622.9 6 01/27/2026
1.0.0-preview.23621.14 6 01/27/2026