Microsoft.Testing.Platform.MSBuild 2.2.1

Prefix Reserved
dotnet add package Microsoft.Testing.Platform.MSBuild --version 2.2.1
                    
NuGet\Install-Package Microsoft.Testing.Platform.MSBuild -Version 2.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Testing.Platform.MSBuild" Version="2.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Testing.Platform.MSBuild" Version="2.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Testing.Platform.MSBuild" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Testing.Platform.MSBuild --version 2.2.1
                    
#r "nuget: Microsoft.Testing.Platform.MSBuild, 2.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Testing.Platform.MSBuild@2.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Testing.Platform.MSBuild&version=2.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Testing.Platform.MSBuild&version=2.2.1
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Microsoft.Testing.Platform.MSBuild:

Package Downloads
NUnit3TestAdapter

The NUnit3 TestAdapter for Visual Studio, all versions from 2012 and onwards, and DotNet (incl. .Net core), versions .net framework 4.6.2 or higher, .net 8 or higher. Note that this package ONLY contains the adapter, not the NUnit framework. For VS 2017 and forward, you should add this package to every test project in your solution. (Earlier versions only require a single adapter package per solution.)

MSTest.TestAdapter

MSTest is Microsoft supported Test Framework. This package includes the adapter logic to discover and run tests. For access to the testing framework, install the MSTest.TestFramework package. Supported platforms: - .NET 4.6.2+ - .NET 8.0+ - .NET 8.0 Windows.18362+ (WinUI) - UWP 10.0.16299 - UWP 10.0.17763 with .NET 9

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.

TUnit.Engine

A .NET Testing Framework

YoloDev.Expecto.TestSdk

Package Description

GitHub repositories (30)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Testing.Platform.MSBuild:

Repository Stars
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
xunit/xunit
xUnit.net is a free, open source, community-focused unit testing tool for .NET.
morelinq/MoreLINQ
Extensions to LINQ to Objects
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
dotnet/dotNext
Next generation API for .NET
ikvmnet/ikvm
A Java Virtual Machine and Bytecode-to-IL Converter for .NET
dnnsoftware/Dnn.Platform
DNN (formerly DotNetNuke) is the leading open source web content management platform (CMS) in the Microsoft ecosystem.
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
TabularEditor/TabularEditor
This is the code repository and issue tracker for Tabular Editor 2.X (free, open-source version). This repository is being maintained by Daniel Otykier.
doghappy/socket.io-client-csharp
socket.io-client implemention for .NET
dotnet/arcade
Tools that provide common build infrastructure for multiple .NET Foundation projects.
friflo/Friflo.Engine.ECS
High-performance C# ECS
IllusionMods/KKManager
Mod, plugin and card manager for games by Illusion that use BepInEx
lastbattle/Harepacker-resurrected
All in one .wz file/map editor for MapleStory game files
darklinkpower/PlayniteExtensionsCollection
Collection of extensions made for Playnite.
rampaa/JL
JL is a program for looking up Japanese words and expressions.
MobiFlight/MobiFlight-Connector
MobiFlight is an open source project that allows you to create your own home cockpit for your favorite flight simulator in a flexible, affordable and extremely user-friendly way.
Tapanila/SharpCaster
Chromecast C# CLI + SDK
SafeExamBrowser/seb-win-refactoring
Safe Exam Browser for Windows.
libplctag/libplctag.NET
A .NET wrapper for libplctag.
Version Downloads Last Updated
2.2.1 29,786 4/7/2026
2.1.0 3,317,149 2/3/2026
2.0.2 11,751,394 11/11/2025
2.0.1 1,889,494 10/14/2025
2.0.0 328,786 10/7/2025
2.0.0-preview.25480.4 1,728 9/30/2025
2.0.0-preview.25465.3 26,326 9/15/2025
2.0.0-preview.25454.2 7,526 9/4/2025
2.0.0-preview.25452.10 730 9/2/2025
2.0.0-preview.25415.9 22,868 8/15/2025
2.0.0-preview.25411.5 221 8/15/2025
2.0.0-preview.25372.6 4,626 7/22/2025
1.9.1 7,087,040 11/11/2025
1.9.0 9,065,564 10/1/2025
1.8.5 108,869 9/30/2025
1.8.4 3,716,692 9/2/2025
1.8.3 813,613 8/26/2025
1.8.2 2,623,737 8/12/2025
1.8.1 382,712 8/5/2025
1.8.0 362,703 7/29/2025
Loading failed