From 7b35da770e844fd2a0dbe56f69b679896f939fe5 Mon Sep 17 00:00:00 2001 From: Stanislaw Szczepanowski <37585349+stan-sz@users.noreply.github.com> Date: Fri, 25 Jul 2025 08:36:55 +0200 Subject: [PATCH 1/2] Upgrade to xUnit.v3 and MTP https://xunit.net/docs/getting-started/v3/microsoft-testing-platform --- Directory.Packages.props | 6 ++---- .../Microsoft.Build.Prediction.Tests.csproj | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e17f6b4..234a7d4 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,10 +8,8 @@ - - - - + + diff --git a/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj b/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj index a94a8db..11428ea 100644 --- a/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj +++ b/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj @@ -1,5 +1,6 @@  + Exe net472;net8.0;net9.0 $(NoWarn);SA1600;SA1611;SA1615;CS1591 @@ -8,10 +9,8 @@ - - + - From fdde9de77c13bb0b3d047312fc421db68537e85a Mon Sep 17 00:00:00 2001 From: Stanislaw Szczepanowski <37585349+stan-sz@users.noreply.github.com> Date: Fri, 25 Jul 2025 08:47:55 +0200 Subject: [PATCH 2/2] Fix vstest reporting --- Directory.Packages.props | 2 ++ .../Microsoft.Build.Prediction.Tests.csproj | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Directory.Packages.props b/Directory.Packages.props index 234a7d4..9d7a4c1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,8 +8,10 @@ + + diff --git a/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj b/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj index 11428ea..2743ace 100644 --- a/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj +++ b/src/BuildPredictionTests/Microsoft.Build.Prediction.Tests.csproj @@ -9,8 +9,10 @@ + +