From 37d84197e134d72a492871a91f56eb41911b1408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jare=C5=A1?= Date: Thu, 29 Jan 2026 11:22:26 +0100 Subject: [PATCH] Add net8.0 target for TranslationLayer --- Directory.Build.props | 2 +- eng/verify-nupkgs.ps1 | 2 +- ...form.VsTestConsole.TranslationLayer.nuspec | 70 +++++++++++++++++-- .../Microsoft.TestPlatform.csproj | 2 +- 4 files changed, 69 insertions(+), 7 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 839f723ffe..e7718ec16a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -108,7 +108,7 @@ Library that is loaded by others and by us. We don't know where it will run (e.b. TranslationLayer), we need to support all frameworks from minimum, and also netstandard2.0. --> - $(NetFrameworkMinimum);netstandard2.0 + $(NetFrameworkMinimum);$(NetCoreAppMinimum);netstandard2.0 diff --git a/eng/verify-nupkgs.ps1 b/eng/verify-nupkgs.ps1 index 159b53fadb..1fbf5416ee 100644 --- a/eng/verify-nupkgs.ps1 +++ b/eng/verify-nupkgs.ps1 @@ -28,7 +28,7 @@ function Verify-Nuget-Packages { "Microsoft.TestPlatform.AdapterUtilities" = 61 "Microsoft.TestPlatform.Portable" = 608 "Microsoft.TestPlatform.TestHost" = 63 - "Microsoft.TestPlatform.TranslationLayer" = 122 + "Microsoft.TestPlatform.TranslationLayer" = 174 "Microsoft.TestPlatform.Internal.Uwp" = 38 } diff --git a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.nuspec b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.nuspec index 4da3c58780..316c21071f 100644 --- a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.nuspec +++ b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.nuspec @@ -10,6 +10,12 @@ + + + + + + @@ -30,17 +36,17 @@ - - - - + + + + @@ -154,5 +160,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/package/Microsoft.TestPlatform/Microsoft.TestPlatform.csproj b/src/package/Microsoft.TestPlatform/Microsoft.TestPlatform.csproj index e04dc770cf..9e37be6d23 100644 --- a/src/package/Microsoft.TestPlatform/Microsoft.TestPlatform.csproj +++ b/src/package/Microsoft.TestPlatform/Microsoft.TestPlatform.csproj @@ -92,7 +92,7 @@ - +