From b0906314652d4f3f1867612401e0ee191c3f1d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Fri, 2 Aug 2024 15:06:36 +0200 Subject: [PATCH 1/2] Bump MSTest + VSTest and use MSTest.Sdk --- .../CommunityToolkit.Tooling.SampleGen.Tests.csproj | 8 ++------ .../CommunityToolkit.Tooling.TestGen.Tests.csproj | 8 ++------ ProjectHeads/Tests.Head.WinAppSdk.props | 2 +- ProjectHeads/Tests.Head.props | 3 +-- global.json | 5 +++-- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj b/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj index a04a5fa1..bf5c4b89 100644 --- a/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj +++ b/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj @@ -1,18 +1,14 @@ - + net6.0 enable - - false preview + true - - - diff --git a/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj b/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj index 42048be6..339d9994 100644 --- a/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj +++ b/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj @@ -1,17 +1,13 @@ - + net6.0 enable - - false + true - - - diff --git a/ProjectHeads/Tests.Head.WinAppSdk.props b/ProjectHeads/Tests.Head.WinAppSdk.props index 7260103d..11922ccf 100644 --- a/ProjectHeads/Tests.Head.WinAppSdk.props +++ b/ProjectHeads/Tests.Head.WinAppSdk.props @@ -6,7 +6,7 @@ - + build diff --git a/ProjectHeads/Tests.Head.props b/ProjectHeads/Tests.Head.props index 0dff7352..9e366197 100644 --- a/ProjectHeads/Tests.Head.props +++ b/ProjectHeads/Tests.Head.props @@ -7,8 +7,7 @@ - - + diff --git a/global.json b/global.json index e4e1a5f4..c566a820 100644 --- a/global.json +++ b/global.json @@ -3,8 +3,9 @@ "version": "8.0.201", "rollForward": "latestFeature" }, - "msbuild-sdks": + "msbuild-sdks": { - "MSBuild.Sdk.Extras":"3.0.23" + "MSBuild.Sdk.Extras":"3.0.23", + "MSTest.Sdk": "3.5.0" } } From aee74f837204a4ac8d693e0f628facdec0e1309e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Tue, 20 Aug 2024 22:07:10 +0200 Subject: [PATCH 2/2] Fix typo in saying we want to use VSTest as runner --- .../CommunityToolkit.Tooling.SampleGen.Tests.csproj | 2 +- .../CommunityToolkit.Tooling.TestGen.Tests.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj b/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj index bf5c4b89..120c6ca5 100644 --- a/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj +++ b/CommunityToolkit.Tooling.SampleGen.Tests/CommunityToolkit.Tooling.SampleGen.Tests.csproj @@ -4,7 +4,7 @@ net6.0 enable preview - true + true diff --git a/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj b/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj index 339d9994..29a31d74 100644 --- a/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj +++ b/CommunityToolkit.Tooling.TestGen.Tests/CommunityToolkit.Tooling.TestGen.Tests.csproj @@ -3,7 +3,7 @@ net6.0 enable - true + true