From 837bb3b07de25d52afc9c7f28e714d45db7e4e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Fri, 18 Nov 2022 16:16:32 +0100 Subject: [PATCH] Ensure to not produce and ship exe for netcore (#4124) --- scripts/verify-nupkgs.ps1 | 2 +- src/datacollector/datacollector.csproj | 2 ++ src/testhost/testhost.csproj | 2 +- src/vstest.console/vstest.console.csproj | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/verify-nupkgs.ps1 b/scripts/verify-nupkgs.ps1 index cec70a6459..ccbd8a9f91 100644 --- a/scripts/verify-nupkgs.ps1 +++ b/scripts/verify-nupkgs.ps1 @@ -16,7 +16,7 @@ function Verify-Nuget-Packages($packageDirectory, $version) "Microsoft.NET.Test.Sdk" = 16; "Microsoft.TestPlatform" = 603; "Microsoft.TestPlatform.Build" = 21; - "Microsoft.TestPlatform.CLI" = 479; + "Microsoft.TestPlatform.CLI" = 477; "Microsoft.TestPlatform.Extensions.TrxLogger" = 35; "Microsoft.TestPlatform.ObjectModel" = 93; "Microsoft.TestPlatform.AdapterUtilities" = 34; diff --git a/src/datacollector/datacollector.csproj b/src/datacollector/datacollector.csproj index a1fe4b00ee..0afed83eeb 100644 --- a/src/datacollector/datacollector.csproj +++ b/src/datacollector/datacollector.csproj @@ -18,6 +18,8 @@ net7.0 AnyCPU Exe + + false Major false diff --git a/src/testhost/testhost.csproj b/src/testhost/testhost.csproj index 48148f8c1f..fcaff4deeb 100644 --- a/src/testhost/testhost.csproj +++ b/src/testhost/testhost.csproj @@ -39,7 +39,7 @@ - + diff --git a/src/vstest.console/vstest.console.csproj b/src/vstest.console/vstest.console.csproj index dc54ef3017..425cd1ca9b 100644 --- a/src/vstest.console/vstest.console.csproj +++ b/src/vstest.console/vstest.console.csproj @@ -11,6 +11,8 @@ net7.0;$(NetFrameworkMinimum);$(NetCoreAppMinimum) net7.0; Exe + + false Major false AnyCPU