From 1abaea94dcd95ab35e3ec1fc6cba02b2a69f4dbf Mon Sep 17 00:00:00 2001 From: Stanislaw Szczepanowski <37585349+stan-sz@users.noreply.github.com> Date: Tue, 10 Feb 2026 14:53:20 +0100 Subject: [PATCH] .Net 10 and latest MSTest --- .github/workflows/ci.yml | 2 +- .github/workflows/pr.yml | 2 +- global.json | 2 +- src/Tests/ReferenceTrimmer.Tests.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55b0831..166310b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 # Git Versioning requires a non-shallow clone - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v5 - name: Run vcvarsall.bat on Windows for MSVC testing uses: ilammy/msvc-dev-cmd@v1 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index cf765fd..f3c691a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 # Git Versioning requires a non-shallow clone - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v5 - name: Run vcvarsall.bat on Windows for MSVC testing uses: ilammy/msvc-dev-cmd@v1 diff --git a/global.json b/global.json index 3f7f4c9..4a062a8 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "msbuild-sdks": { "Microsoft.Build.NoTargets": "3.7.56", - "MSTest.Sdk": "3.11.1" + "MSTest.Sdk": "4.1.0" }, "test": { "runner": "Microsoft.Testing.Platform" diff --git a/src/Tests/ReferenceTrimmer.Tests.csproj b/src/Tests/ReferenceTrimmer.Tests.csproj index 4bb2618..db5e2fb 100644 --- a/src/Tests/ReferenceTrimmer.Tests.csproj +++ b/src/Tests/ReferenceTrimmer.Tests.csproj @@ -1,6 +1,6 @@  - net8.0 + net10.0 x64 AnyCPU;x64 $(NoWarn);0067;1591;CA1861