Skip to content

chore(deps): bump the test packages and keep net6.0/net7.0 on supported versions - #247

Merged
WingZer0o merged 1 commit into
mainfrom
chore/test-deps
Nov 25, 2026
Merged

WingZer0o merged 1 commit into
mainfrom
chore/test-deps

Conversation

@WingZer0o

Copy link
Copy Markdown
Member

Combines the open Dependabot PRs #240, #241, #242, #243 and #244 into one change to cas-dotnet-sdk-tests/cas-dotnet-sdk-tests.csproj.

Package Was net8.0, net9.0, net10.0 net6.0, net7.0
xunit 2.4.2 2.9.3 (#243) 2.9.3
coverlet.collector 6.0.0 10.1.1 (#241) 10.1.1
Microsoft.NET.Test.Sdk 17.6.0 18.12.0 (#242) 17.13.0
xunit.runner.visualstudio 2.4.5 4.0.1 (#244) 3.0.2

Why net6.0 and net7.0 stay on older versions

Taking the Dependabot bumps as-is breaks the build, because the test project still targets net6.0 and net7.0:

  • Microsoft.NET.Test.Sdk 18.x fails the build with Microsoft.NET.Test.Sdk doesn't support net6.0 (same for net7.0). So does 17.14.1. 17.14.0 builds, but it only ships net8.0 binaries. 17.13.0 is the last version with netcoreapp3.1 binaries that genuinely run on net6.0.
  • xunit.runner.visualstudio 3.1+ and 4.x only ship net8.0 and .NET Framework builds, so on net6.0 NuGet falls back to the .NET Framework one (NU1701). 3.0.2 is the last version with a net6.0 build.
  • coverlet.collector 10.1.1 still ships a netstandard2.0 collector, so it works on every framework.

The two package groups are split with Condition on $(TargetFramework). This does not suppress anything: no SuppressTfmSupportBuildErrors, and no NuGet warnings.

Dependabot can't tell the two groups apart. If it later bumps the net6/net7 references, the net6.0 and net7.0 CI jobs will fail, which is the cue to keep those pins.

This also supersedes #240's patch bumps (Test.Sdk 17.6.3, coverlet 6.0.4).

Verification

Locally, dotnet build passes on all five frameworks with no errors or NuGet warnings. dotnet test passes 2349/2349 on net6.0, net8.0, net9.0 and net10.0. There is no .NET 7 runtime locally; CI covers net7.0.

After this merges, close #240–#244 (or Dependabot closes them once it sees the versions changed).

🤖 Generated with Claude Code

…ed versions

Combines Dependabot #240-#244:
- xunit 2.4.2 -> 2.9.3
- coverlet.collector 6.0.0 -> 10.1.1 (ships a netstandard2.0 collector)
- Microsoft.NET.Test.Sdk 17.6.0 -> 18.12.0 and xunit.runner.visualstudio
  2.4.5 -> 4.0.1 on net8.0+

Microsoft.NET.Test.Sdk 17.14+ and xunit.runner.visualstudio 3.1+ only ship
net8.0 builds (17.14.1 and 18.x fail the build on net6.0/net7.0), so those
two frameworks use the last versions that support them: Test.Sdk 17.13.0
and runner 3.0.2. Supersedes the 17.6.3 / 6.0.4 patch bumps in #240.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant