Microsoft.TestPlatform.TestHost 18.0.1

Prefix Reserved
dotnet add package Microsoft.TestPlatform.TestHost --version 18.0.1
                    
NuGet\Install-Package Microsoft.TestPlatform.TestHost -Version 18.0.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.TestPlatform.TestHost" Version="18.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.TestPlatform.TestHost" Version="18.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.TestPlatform.TestHost" />
                    
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.TestPlatform.TestHost --version 18.0.1
                    
#r "nuget: Microsoft.TestPlatform.TestHost, 18.0.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.TestPlatform.TestHost@18.0.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.TestPlatform.TestHost&version=18.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.TestPlatform.TestHost&version=18.0.1
                    
Install as a Cake Tool

Testplatform host executes the test using specified adapter.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (16)

Showing the top 5 NuGet packages that depend on Microsoft.TestPlatform.TestHost:

Package Downloads
Microsoft.NET.Test.Sdk

The MSbuild targets and properties for building .NET test projects.

DafnyDriver

Package Description

BccCode.BuildingBlocks.Tests

A package providing a boiler-plate implementation for running integration tests in .NET projects.

Fake.DotNet.Cli.IntegrationTests

Package Description

Meadow.UnitTestTemplate

Package Description

GitHub repositories (38)

Showing the top 20 popular GitHub repositories that depend on Microsoft.TestPlatform.TestHost:

Repository Stars
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
microsoft/WinUI-Gallery
This app demonstrates the controls available in WinUI and the Fluent Design System.
dafny-lang/dafny
Dafny is a verification-aware programming language
migueldeicaza/TensorFlowSharp
TensorFlow API for .NET languages
Nethereum/Nethereum
Ethereum .Net cross platform integration library
DigitalRuby/IPBan
Since 2011, IPBan is the worlds most trusted, free security software to block hackers and botnets. With both Windows and Linux support, IPBan has your dedicated or cloud server protected. Upgrade to IPBan Pro today and get a discount. Learn more at ↓
microsoft/AdaptiveCards
A new way for developers to exchange card content in a common and consistent way.
microsoft/azure-pipelines-agent
Azure Pipelines Agent 🚀
tmsmith/Dapper-Extensions
Dapper Extensions is a small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs. For more advanced querying scenarios, Dapper Extensions provides a predicate system. The goal of this library is to keep your POCOs pure by not requiring any attributes or base class inheritance.
microsoft/ai-dev-gallery
An open-source project for Windows developers to learn how to add AI with local models and APIs to Windows apps.
Taiizor/Sucrose
Sucrose is a versatile wallpaper engine that brings life to your desktop with a wide range of interactive wallpapers.
Oliveriver/5d-diplomacy-with-multiverse-time-travel
5D Diplomacy With Multiverse Time Travel
microsoft/dotnet-apiport
This repo contains .NET Portability Analyzer (VSIX and Console) libraries and tools
microsoft/testfx
This repository holds the source code of Microsoft.Testing.Platform (MTP), a lightweight alternative to VSTest, as well as MSTest adapter and framework.
MonoMod/MonoMod
C# modding swiss army knife, powered by cecil.
nearby-sharing/android
Share files between android and PC via the Windows 10 / 11 built-in nearby-sharing functionality (Project Rome)
dotMorten/WinUIEx
WinUI Extensions
microsoft/CsWinRT
C# language projection for the Windows Runtime
wangkanai/wangkanai
Wangkanai is a collection of ASP.NET Core libraries that was developed internally over time and share common usage that would benefit everyone in the open source community as a whole.
JaneySprings/DotRush
Lightweight C# development environment for VSCode
Version Downloads Last Updated
18.0.1 16,179,226 11/11/2025
18.0.0 9,677,447 10/2/2025
17.14.1 39,883,250 6/3/2025
17.14.0 6,137,341 5/20/2025
17.14.0-preview-25107-01 270,278 2/10/2025
17.13.0 46,377,526 2/10/2025
17.12.0 50,004,838 11/19/2024
17.11.1 49,957,672 9/5/2024
17.11.0 9,995,009 8/20/2024
17.11.0-release-24373-02 119,728 7/24/2024
17.11.0-release-24352-06 101,649 7/2/2024
17.10.0 45,387,758 5/22/2024
17.10.0-release-24177-07 203,661 4/2/2024
17.10.0-preview-24080-01 278,747 1/30/2024
17.9.0 54,521,491 2/6/2024
17.9.0-release-23619-01 182,782 1/8/2024
17.9.0-preview-23577-04 184,254 12/5/2023
17.9.0-preview-23531-01 172,751 11/8/2023
17.9.0-preview-23503-02 165,506 10/9/2023
17.8.0 87,651,483 11/8/2023
17.8.0-release-23468-02 26,561 10/4/2023
17.8.0-preview-23424-02 108,354 8/29/2023
17.8.0-preview-23371-04 104,036 8/3/2023
17.7.2 25,821,382 8/29/2023
17.7.1 8,774,039 8/16/2023
17.7.0 4,324,437 8/4/2023
17.7.0-preview-23364-03 144,793 7/16/2023
17.7.0-preview.23280.1 185,977 6/12/2023
17.6.3 15,341,986 6/27/2023
17.6.2 8,863,531 6/6/2023
17.6.1 1,756,364 6/1/2023
17.6.0 23,443,844 5/16/2023
17.6.0-preview-20230223-05 219,541 3/13/2023
17.5.0 55,993,690 2/21/2023
17.5.0-preview-20221221-03 304,987 12/21/2022
17.5.0-preview-20221003-04 629,336 10/3/2022
17.4.1 32,220,938 12/16/2022
17.4.0 21,960,466 11/7/2022
17.4.0-preview-20221003-03 5,656 10/3/2022
17.4.0-preview-20220726-02 228,521 8/9/2022
17.4.0-preview-20220707-01 526,238 7/11/2022
17.3.3 548,368 3/24/2023
17.3.2 43,682,789 9/26/2022
17.3.1 11,737,247 8/30/2022
17.3.0 10,027,907 8/10/2022
17.3.0-preview-20220612-01 58,921 6/13/2022
17.3.0-preview-20220530-08 10,072 6/8/2022
17.3.0-preview-20220426-02 11,311 6/2/2022
17.2.1 174,064 3/24/2023
17.2.0 37,255,473 5/11/2022
17.2.0-preview-20220401-08 87,036 4/7/2022
17.2.0-preview-20220401-07 14,338 4/4/2022
17.2.0-preview-20220301-01 50,232 3/18/2022
17.2.0-preview-20220131-20 255,876 2/9/2022
17.1.0 77,425,738 2/16/2022
17.1.0-release-20220113-05 66,267 2/1/2022
17.1.0-preview-20211130-02 673,967 11/30/2021
17.1.0-preview-20211109-03 469,148 11/9/2021
17.0.2 241,387 3/24/2023
17.0.1-release-20211109-01 23,996 11/11/2021
17.0.0 50,747,419 10/26/2021
16.11.0 56,385,836 8/13/2021
16.11.0-release-20210626-04 202,694 6/27/2021
16.10.0 20,558,799 5/25/2021
16.10.0-release-20210429-01 125,030 4/29/2021
16.10.0-release-20210422-02 11,737 4/23/2021
16.10.0-release-20210330-02 885,158 3/30/2021
16.10.0-release-20210329-03 5,588 3/30/2021
16.10.0-preview-20210219-03 133,895 2/23/2021
16.9.4 37,305,512 4/1/2021
16.9.4-release-20210331-01 4,037 4/1/2021
16.9.1 10,839,429 2/23/2021
16.9.0-preview-20210127-04 79,053 1/27/2021
16.9.0-preview-20210106-01 141,212 1/6/2021
16.9.0-preview-20201123-03 137,547 11/23/2020
16.9.0-preview-20201020-06 297,611 10/21/2020
16.8.3 22,138,418 12/2/2020
16.8.0 7,802,978 11/8/2020
16.8.0-preview-20200921-01 103,957 9/21/2020
16.8.0-preview-20200812-03 128,422 8/13/2020
16.8.0-preview-20200806-02 23,719 8/6/2020
16.7.1 48,674,564 8/20/2020
16.7.0 4,064,544 8/6/2020
16.7.0-preview-20200519-01 240,561 5/20/2020
16.7.0-preview-20200428-01 122,659 4/28/2020
16.6.1 28,972,451 4/24/2020
16.6.0 1,322,102 4/20/2020
16.6.0-preview-20200318-01 163,394 3/20/2020
16.6.0-preview-20200310-03 80,928 3/13/2020
16.6.0-preview-20200309-01 33,110 3/9/2020
16.6.0-preview-20200226-03 84,695 2/27/2020
16.5.0 77,758,269 2/5/2020
16.5.0-preview-20200203-01 25,634 2/3/2020
16.5.0-preview-20200116-01 99,854 1/16/2020
16.5.0-preview-20200102-01 32,601 1/2/2020
16.5.0-preview-20191216-02 45,390 12/23/2019
16.5.0-preview-20191115-01 103,268 11/15/2019
16.4.0 28,879,294 11/6/2019
16.4.0-preview-20191007-01 11,539 10/7/2019
16.3.0 7,363,907 9/19/2019
16.3.0-preview-20190828-03 51,744 8/29/2019
16.3.0-preview-20190808-03 80,686 8/9/2019
16.3.0-preview-20190715-02 17,029 8/1/2019
16.2.0 39,521,967 6/27/2019
16.2.0-preview-20190606-02 44,134 6/7/2019
16.1.1 4,815,047 5/30/2019
16.1.0 3,945,181 5/9/2019
16.0.2-preview-20190502-01 23,788 5/2/2019
16.0.1 19,039,458 3/4/2019
16.0.0 447,584 2/28/2019
16.0.0-preview-20190203-03 97,495 2/3/2019
16.0.0-preview-20190201-03 9,194 2/1/2019
16.0.0-preview-20190124-02 101,035 1/25/2019
16.0.0-preview-20181205-02 321,291 12/5/2018
16.0.0-preview-20181128-01 9,166 11/28/2018
15.9.2 1,645,194 5/2/2019
15.9.1 77,988 3/6/2019
15.9.0 36,830,236 10/10/2018
15.9.0-preview-20180924-03 23,061 9/28/2018
15.9.0-preview-20180816-01 94,898 8/20/2018
15.9.0-preview-20180807-05 43,931 8/10/2018
15.8.0 19,725,733 7/13/2018
15.8.0-preview-20180610-02 119,916 6/11/2018
15.8.0-preview-20180605-02 26,049 6/5/2018
15.8.0-preview-20180510-03 119,035 5/10/2018
15.7.2 4,256,931 5/16/2018
15.7.0 8,981,589 4/4/2018
15.7.0-preview-20180320-02 35,240 3/22/2018
15.7.0-preview-20180307-01 17,201 3/8/2018
15.7.0-preview-20180221-13 53,303 2/21/2018
15.6.2 500,136 3/28/2018
15.6.1 1,051,454 3/9/2018
15.6.0 2,071,154 2/19/2018
15.6.0-preview-20180207-05 25,329 2/7/2018
15.6.0-preview-20180109-01 90,212 1/9/2018
15.6.0-preview-20171211-02 67,738 12/11/2017
15.5.0 12,642,992 11/9/2017
15.5.0-preview-20171031-01 49,923 10/31/2017
15.5.0-preview-20171025-02 21,135 10/26/2017
15.5.0-preview-20171012-09 44,553 10/13/2017
15.5.0-preview-20171009-10 22,272 10/10/2017
15.5.0-preview-20170923-02 64,362 9/26/2017
15.5.0-preview-20170914-09 122,043 9/14/2017
15.5.0-preview-20170810-02 471,591 8/10/2017
15.5.0-preview-20170727-01 29,964 7/28/2017
15.3.0 5,444,463 8/7/2017
15.3.0-preview-20170628-02 2,057,208 6/28/2017
15.3.0-preview-20170618-03 59,266 6/18/2017
15.3.0-preview-20170601-03 40,544 6/1/2017
15.3.0-preview-20170517-02 60,747 5/18/2017
15.3.0-preview-20170502-03 44,561 5/3/2017
15.3.0-preview-20170427-09 103,484 4/27/2017
15.3.0-preview-20170425-07 103,266 4/25/2017
15.0.0 22,813,207 2/23/2017
15.0.0-preview-20170222-09 19,894 2/22/2017
15.0.0-preview-20170217-05 19,330 2/17/2017
15.0.0-preview-20170210-02 23,592 2/10/2017
15.0.0-preview-20170125-04 43,908 1/27/2017
15.0.0-preview-20170123-02 62,702 1/23/2017
15.0.0-preview-20170113-02 14,594 1/13/2017
15.0.0-preview-20170106-08 802,230 1/6/2017
15.0.0-preview-20161227-02 20,459 12/27/2016
15.0.0-preview-20161216-01 14,934 12/16/2016
15.0.0-preview-20161123-03 49,734 11/24/2016
15.0.0-preview-20161122-02 13,458 11/22/2016
15.0.0-preview-20161101-02 15,508 11/1/2016
15.0.0-preview-20161024-02 4,381 10/25/2016
15.0.0-preview-20161012-02 100,787 10/17/2016
15.0.0-preview-20161012-01 2,999 10/12/2016
15.0.0-preview-20161005-01 5,463 10/5/2016
15.0.0-preview-20161004-03 3,033 10/6/2016
15.0.0-preview-20160928-07 3,201 9/28/2016