NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #487 most downloaded on NuGet
This package contains the full set of binaries for the Visual Studio Test Platform (vstest). It provides a modern, cross platform testing engine that powers the testing on .NET Core as well. It integrates with popular test frameworks like MSTest(v1 and v2), xUnit and Nunit with support for extensibility.
Latest stable
18.12.0
Last release 11 days ago
11 Nov 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
6 versions withdrawn
withdrawn after publishing
127 years old
163 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
This release includes the fix for CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor c…
This release includes the fix for CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 18.11.0 and earlier. Every version from 18.11.1 on is fixed, including 18.12.0.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v18.11.0...v18.12.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 18.11.0.
Fixed in: Microsoft.TestPlatform.CLI 18.11.1.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v18.11.0...v18.11.1
<!-- Release notes generated using configuration in .github/release.yml at rel/18.11 -->
<!-- Release notes generated using configuration in .github/release.yml at rel/18.11 -->
Full Changelog: https://github.com/microsoft/vstest/compare/v18.10.1...v18.11.0
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 18.10.0 and 18.10.1.
Fixed in: Microsoft.TestPlatform.CLI 18.10.2.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v18.10.1...v18.10.2
Isolate code coverage files in published output by @azat-msft in https://github.com/microsoft/vstest/pull/16476
Full Changelog: https://github.com/microsoft/vstest/compare/v18.10.0...v18.10.1
Drop Mono fallback, run .NET Framework tests on Windows only by @nohwnd in https://github.com/microsoft/vstest/pull/16158
vstest.console and datacollector by @nohwnd in https://github.com/microsoft/vstest/pull/16201Full Changelog: https://github.com/microsoft/vstest/compare/v18.9.0...v18.10.0
Fix tilde/exclamation characters corrupted in TerminalLogger test output by @nohwnd in https://github.com/microsoft/vstest/pull/16046
Full Changelog: https://github.com/microsoft/vstest/compare/v18.8.0...v18.9.0
Fix protocol negotiation timeout when STJ reflection is disabled (18.8.1) by @nohwnd in https://github.com/microsoft/vstest/pull/16281
Full Changelog: https://github.com/microsoft/vstest/compare/v18.8.0...v18.8.1
Migrate from Newtonsoft.Json to System.Text.Json / Jsonite (merge to main) by @nohwnd in https://github.com/microsoft/vstest/pull/15687
Full Changelog: https://github.com/microsoft/vstest/compare/v18.7.0...v18.8.0
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 18.7.0.
Fixed in: Microsoft.TestPlatform.CLI 18.7.1.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v18.7.0...v18.7.1
Add ARM64 msdia140.dll support to test platform packages by @jamesmcroft in https://github.com/microsoft/vstest/pull/15689
Full Changelog: https://github.com/microsoft/vstest/compare/v18.6.0...v18.7.0
Remove deprecated WebTest and TMI test methods by @nohwnd in https://github.com/microsoft/vstest/pull/15525
Full Changelog: https://github.com/microsoft/vstest/compare/v18.5.1...v18.6.0
Fix System.Collections.Immutable binding mismatch in Common.dll (rel/18.5) by @nohwnd in https://github.com/microsoft/vstest/pull/15720
Full Changelog: https://github.com/microsoft/vstest/compare/v18.5.0...v18.5.1
⚠️ Unlisted on Nuget, because of #15718
⚠️ Unlisted on Nuget, because of #15718
Full Changelog: https://github.com/microsoft/vstest/compare/v18.4.0...v18.5.0
Add LoongArch64 support by @stdmnpkg in https://github.com/microsoft/vstest/pull/15359
Add LoongArch64 support by @stdmnpkg in https://github.com/microsoft/vstest/pull/15359
Refactor Condition evaluation by @Youssef1313 in https://github.com/microsoft/vstest/pull/15357
Adding info on extensions points part 1 by @nohwnd in https://github.com/microsoft/vstest/pull/15360
Add option to ask for uploading code QL before the standard window ends by @nohwnd in https://github.com/microsoft/vstest/pull/15373
Update runtime versions by @nohwnd in https://github.com/microsoft/vstest/pull/15372
Fix .NET 10 regression for traits by @Youssef1313 in https://github.com/microsoft/vstest/pull/15370
Update target frameworks to net10.0 and net11.0 by @dotnet-maestro[bot] in https://github.com/microsoft/vstest/pull/15349
Fix names in pipeline matrix so we don't have to align them by @nohwnd in https://github.com/microsoft/vstest/pull/15365
Update SECURITY.md by @Youssef1313 in https://github.com/microsoft/vstest/pull/15342
Full Changelog: https://github.com/microsoft/vstest/compare/v18.3.0...v18.4.0
Fix answer file splitting by @nohwnd in https://github.com/microsoft/vstest/pull/15306
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 18.0.0 and 18.0.1.
Fixed in: Microsoft.TestPlatform.CLI 18.0.2.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v18.0.1...v18.0.2
Fixing an issue with loading covrun64.dll on systems that have .NET 10 SDK installed: https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/
Fixing an issue with loading covrun64.dll on systems that have .NET 10 SDK installed: https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/10.0/code-coverage-dynamic-native-instrumentation
Full Changelog: https://github.com/microsoft/vstest/compare/v18.0.0...v18.0.1
Update reporting formatting by @martincostello in https://github.com/microsoft/vstest/pull/15082
Full Changelog: https://github.com/microsoft/vstest/compare/v17.14.1...v18.0.0
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 17.14.0 and 17.14.1.
Fixed in: Microsoft.TestPlatform.CLI 17.14.2.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v17.14.1...v17.14.2
Error on unsupported target frameworks to prevent silently not running tests by @nohwnd in https://github.com/microsoft/vstest/pull/15072 and https://
Full Changelog: https://github.com/microsoft/vstest/compare/v17.14.0...v17.14.1
This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their v
This version of VS Test upgraded .NET to net8 and net9. All projects targeting net6.0 (or other end-of-life .NET target frameworks) should pin their version of Microsoft.NET.Test.SDK to 17.13.0, or update the projects to net8 or newer. We remain backwards compatible with previous versions of Microsoft.NET.Test.SDK. This change does NOT prevent you from:
It also has no impact on .NET Framework projects, where we continue targeting .NET Framework 4.6.2.
Full Changelog: https://github.com/microsoft/vstest/compare/v17.13.0...v17.14.0
Nothing published for this version
Add letter number among valid identifiers in class name by @nohwnd in https://github.com/microsoft/vstest/pull/13868
Add letter number among valid identifiers in class name by @nohwnd in https://github.com/microsoft/vstest/pull/13868
Fix formatting in Runner by @mthalman in https://github.com/microsoft/vstest/pull/13871
Downgrade xunit skip warning to info by @nohwnd in https://github.com/microsoft/vstest/pull/10381
Add msdia for arm64 into nuget by @nohwnd in https://github.com/microsoft/vstest/pull/10382
Enable native debugging for vstest.console by @ocitrev in https://github.com/microsoft/vstest/pull/10401
Fix RFCs links by @Youssef1313 in https://github.com/microsoft/vstest/pull/10424
Convert to auto property by @nohwnd in https://github.com/microsoft/vstest/pull/10365
Update Versions.props by @nohwnd in https://github.com/microsoft/vstest/pull/10378
Enable TSA by @jakubch1 in https://github.com/microsoft/vstest/pull/10385
Arm64 dia by @nohwnd in https://github.com/microsoft/vstest/pull/10390
Update source-build team references by @MichaelSimons in https://github.com/microsoft/vstest/pull/10388
Exclude .signature.p7s from nupkg file count by @ellahathaway in https://github.com/microsoft/vstest/pull/10418
Set NetCurrent so that it doesn't roll forward automatically by @ViktorHofer in https://github.com/microsoft/vstest/pull/10622
Full Changelog: https://github.com/microsoft/vstest/compare/v17.12.0...v17.13.0
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 17.12.0.
Fixed in: Microsoft.TestPlatform.CLI 17.12.1.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v17.12.0...v17.12.1
Dispose IDisposables in HtmlTransformer by @omajid in https://github.com/microsoft/vstest/pull/5099
Full Changelog: https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 17.11.0 and 17.11.1.
Fixed in: Microsoft.TestPlatform.CLI 17.11.2.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v17.11.1...v17.11.2
[rel/17.11] Forward error output from testhost as info by @nohwnd in https://github.com/microsoft/vstest/pull/5193
Full Changelog: https://github.com/microsoft/vstest/compare/v17.11.0...v17.11.1
Add reference to the AdapterUtilities library in the spec docs. by @peterwald in https://github.com/microsoft/vstest/pull/4958
Full Changelog: https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0-release-24352-06
Nothing published for this version
Nothing published for this version
Add missing runtimeconfig.json file for 8.0 by @MarcoRossignoli in https://github.com/microsoft/vstest/pull/4792
And many infrastructure related changes and updates.
Full Changelog: https://github.com/microsoft/vstest/compare/v17.9.0...v17.10.0
Nothing published for this version
Nothing published for this version
Remove dependency on Nuget.Frameworks by @nohwnd in https://github.com/microsoft/vstest/pull/4693
HtmlLogger by @daveMueller in https://github.com/microsoft/vstest/pull/4744Full Changelog: https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a…
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged executionComplete.json written by another local user, and then run attacker-controlled output handling.
Affected: Microsoft.TestPlatform.CLI 17.8.0.
Fixed in: Microsoft.TestPlatform.CLI 17.8.1.
Microsoft.TestPlatform.CLI is the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.
The fix is also released in the Microsoft.TestPlatform.CLI package, for completeness. That package is rarely used directly. It is not a dependency of Microsoft.NET.Test.Sdk or Microsoft.TestPlatform, so those packages do not bring it in.
Details: #16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See #16652
Full Changelog: v17.8.0...v17.8.1
## What's Changed Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.2...v17.8.0
Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.2...v17.8.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix cannot find System.Text.Json by @nohwnd in https://github.com/microsoft/vstest/pull/4669
Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.1...v17.7.2
Take System dlls from testhost folder to fix running .NET Framework dlls on mono and under VS on Mac in #4610 by @Evangelink
Full Changelog: https://github.com/microsoft/vstest/compare/v17.7.0...v17.7.1
…tools statically analyze it and report possible vulnerabilities.
⚠️ Microsoft.TestPlatform 17.7.0 nuget package is hidden from Nuget.org, we've encountered an unexpected issue with versioning which prevents it from being used in all AzDO clients. We are working on a fix.
The most pressing issues were all backported to 17.6.1, 17.6.2 and 17.6.3.
Don't print socket transport error in console by @nohwnd in #4493 which fixes #4461 When testhost crashes, we no longer print the transport error:
---> System.Exception: Unable to read data from the transport connection:
An existing connection was forcibly closed by the remote host..
This error is a side-effect or our architecture is almost never the culprit. Instead it leads developers away from the actual issue which is crash of testhost, or datacollector.
Pass workloads to proxy managers in #4422 by @nohwnd Which allows datacollector users to only receive the sources that are currently running in the testhost associated to datacollector, instead of all the sources that have the same target framework.
Fix Newtonsoft versions in testhost.deps.json in #4367 by @nohwnd testhost.runtimeconfig.json files that we ship with testhost contained an old version of Newtonsoft.Json. The version in this file does not have an effect on execution, but some compliance tools statically analyze it and report possible vulnerabilities.
Other fixes:
Special thanks to @SimonCropp for the many fixes regarding nullability spelling and code style in #4518, #4520, #4525, #4526, #4521, #4519, #4522, #4529 🙇
Full Changelog: https://github.com/microsoft/vstest/compare/v17.6.3...v17.7.0
Nothing published for this version
[rel/17.6] Update version to 17.6.3 by @nohwnd in #4555
This patch addresses the problems that were introduced in 17.6.0 that happen when running on AzDo with the default *test*.dll filter, which includes a
This patch addresses the problems that were introduced in 17.6.0 that happen when running on AzDo with the default test.dll filter, which includes additional TestPlatform dlls into the run and fails it.
To mitigate this issue we solved the bug in 17.6.1, and added additional exclusions for known assemblies that are coming from TestPlatform and commonly used test adapters, to avoid trying to run tests from those assemblies.
Description and workarounds for this issue are available here: https://github.com/microsoft/vstest/issues/4516
Full Changelog: https://github.com/microsoft/vstest/compare/v17.6.1...v17.6.2
Artifacts TestPlatform vsix: 17.6.2 Microsoft.TestPlatform.ObjectModel : 17.6.2
This is a tiny patch to fixup few latest issues,
This is a tiny patch to fixup few latest issues,
Fix no-suitable provider found by @nohwnd in https://github.com/microsoft/vstest/pull/4474 which fixes #4467
When .NET Portable or .NET Standard dlls are provided to the run, the run crashes with "No suitable test runtime provider was found", which is a regression introduced in 17.6.0.
Fix hangdump running into crashdump by @nohwnd in https://github.com/microsoft/vstest/pull/4480 which fixes #4378
Running --blame-hang and --blame-crash at the same time, can result in --blame-hang cancelling --blame-crash, and killing the testhost in the process, resulting in no dumps being created. This fix waits for --blame-crash to finish dumping the process, and then it creates hang dump.
Update Nuget.Frameworks by @nohwnd in https://github.com/microsoft/vstest/pull/4500 which fixes #4409
Full Changelog: https://github.com/microsoft/vstest/compare/v17.6.0...v17.6.1
Please see release notes directly in the release page: https://github.com/microsoft/vstest/releases
See the release notes here.
See the release notes here.
dotnet vstest deprecation message #4297Microsoft.TestPlatform.Extensions.TrxLogger.ObjectMode.TestOutcome #4243See full log here
Add dotnet vstest deprecation message #4297
dotnet vstest deprecation message #4297Microsoft.TestPlatform.Extensions.TrxLogger.ObjectMode.TestOutcome #4243See full log here
See the release notes here.
See the release notes here.
See full log here
Add test run serialization feature #4126
See full log here
Fix release note and prebuild scripts #4039
See full log here
See the release notes here.
See the release notes here.
See full log here
See the release notes here.
See the release notes here.
See full log here
Nothing published for this version
Updated deprecated build VMs. #3972
See full log here
One column per quarter.