Repository navigation
chore(deps): bump the test packages and keep net6.0/net7.0 on supported versions - #247
Merged
Merged
Conversation
…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>
This was referenced Nov 25, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Combines the open Dependabot PRs #240, #241, #242, #243 and #244 into one change to
cas-dotnet-sdk-tests/cas-dotnet-sdk-tests.csproj.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 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.The two package groups are split with
Conditionon$(TargetFramework). This does not suppress anything: noSuppressTfmSupportBuildErrors, 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 buildpasses on all five frameworks with no errors or NuGet warnings.dotnet testpasses 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