Microsoft.TestPlatform.TranslationLayer
18.6.0
Prefix Reserved
dotnet add package Microsoft.TestPlatform.TranslationLayer --version 18.6.0
NuGet\Install-Package Microsoft.TestPlatform.TranslationLayer -Version 18.6.0
<PackageReference Include="Microsoft.TestPlatform.TranslationLayer" Version="18.6.0" />
<PackageVersion Include="Microsoft.TestPlatform.TranslationLayer" Version="18.6.0" />
<PackageReference Include="Microsoft.TestPlatform.TranslationLayer" />
paket add Microsoft.TestPlatform.TranslationLayer --version 18.6.0
#r "nuget: Microsoft.TestPlatform.TranslationLayer, 18.6.0"
#:package Microsoft.TestPlatform.TranslationLayer@18.6.0
#addin nuget:?package=Microsoft.TestPlatform.TranslationLayer&version=18.6.0
#tool nuget:?package=Microsoft.TestPlatform.TranslationLayer&version=18.6.0
Microsoft.TestPlatform.TranslationLayer
The C# SDK for the Visual Studio Test Platform protocol. Use this package to programmatically discover and execute tests from IDEs, editors, or custom tools by communicating with vstest.console.
Usage
<PackageReference Include="Microsoft.TestPlatform.TranslationLayer" Version="x.y.z" />
Example
var vstestConsolePath = "<path to vstest.console.exe or .dll>";
var consoleWrapper = new VsTestConsoleWrapper(vstestConsolePath);
consoleWrapper.StartSession();
consoleWrapper.InitializeExtensions(extensionPaths);
// Discover tests
consoleWrapper.DiscoverTests(testAssemblies, settings, discoveryHandler);
// Run tests
consoleWrapper.RunTests(testAssemblies, settings, executionHandler);
Links
| Product | Versions 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 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 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 is compatible. 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. |
-
.NETFramework 4.6.2
- Microsoft.TestPlatform.ObjectModel (>= 18.6.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.0
- Microsoft.TestPlatform.ObjectModel (>= 18.6.0)
- NETStandard.Library (>= 2.0.0)
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- Microsoft.TestPlatform.ObjectModel (>= 18.6.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (14)
Showing the top 5 NuGet packages that depend on Microsoft.TestPlatform.TranslationLayer:
| Package | Downloads |
|---|---|
|
BenchmarkDotNet.TestAdapter
Powerful .NET library for benchmarking |
|
|
stryker
All stryker mutation test logic is contained in this library. This package does not include a runner. Use this package if you want to extend stryker with your own runner. |
|
|
Microsoft.CodeAnalysis.LanguageServer.linux-x64
Package Description More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/dotnet/commit/ddf39a1b4690fbe23aea79c78da67004a5c31094. |
|
|
Microsoft.CodeAnalysis.LanguageServer.win-x64
Package Description More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/dotnet/commit/ddf39a1b4690fbe23aea79c78da67004a5c31094. |
|
|
Microsoft.CodeAnalysis.LanguageServer.osx-arm64
Package Description More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/dotnet/commit/ddf39a1b4690fbe23aea79c78da67004a5c31094. |
GitHub repositories (11)
Showing the top 11 popular GitHub repositories that depend on Microsoft.TestPlatform.TranslationLayer:
| Repository | Stars |
|---|---|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
|
|
|
mono/monodevelop
MonoDevelop is a cross platform .NET IDE
|
|
|
OmniSharp/omnisharp-roslyn
OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
|
|
|
stryker-mutator/stryker-net
Mutation testing for .NET core and .NET framework!
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
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.
|
|
|
JaneySprings/DotRush
Lightweight C# development environment for VSCode
|
|
|
BigBabay/AsyncConverter
Plugin for resharper, for converting code for async.
|
|
|
X-Sharp/XSharpPublic
Public repository for the source code for the XSharp Compiler, Runtime, Project System and Tools.
|
|
|
ckob/lazydotnet
A TUI for managing dotnet solutions and projects
|
| Version | Downloads | Last Updated |
|---|---|---|
| 18.6.0 | 0 | 5/26/2026 |
| 18.5.1 | 12,003 | 4/28/2026 |
| 18.4.0 | 11,369 | 4/7/2026 |
| 18.3.0 | 17,829 | 2/24/2026 |
| 18.0.1 | 26,220 | 11/11/2025 |
| 18.0.0 | 812 | 10/2/2025 |
| 17.14.1 | 11,268 | 6/3/2025 |
| 17.14.0 | 578 | 5/20/2025 |
| 17.14.0-preview-25107-01 | 3,941 | 2/10/2025 |
| 17.13.0 | 14,455 | 2/10/2025 |
| 17.12.0 | 4,469 | 11/19/2024 |
| 17.11.1 | 3,996 | 9/5/2024 |
| 17.11.0 | 3,278 | 8/20/2024 |
| 17.11.0-release-24373-02 | 274 | 7/24/2024 |
| 17.11.0-release-24352-06 | 229 | 7/2/2024 |
| 17.10.0 | 3,786 | 5/22/2024 |
| 17.10.0-release-24177-07 | 279 | 4/2/2024 |
| 17.9.0 | 9,483 | 2/6/2024 |
| 1.0.0-alpha-stj-26213-07 | 102 | 4/14/2026 |