Skip to content

Regenerate CompatibilitySuppressions.xml for the TFMs the SDK now builds [patch] - #153

Merged
matt-edmondson merged 1 commit into
mainfrom
fix/151-regenerate-compat-suppressions
Nov 4, 2026
Merged

matt-edmondson merged 1 commit into
mainfrom
fix/151-regenerate-compat-suppressions

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Fixes #151

What changed

SvnToGit/CompatibilitySuppressions.xml was regenerated with -p:ApiCompatGenerateSuppressionFile=true against the pinned ktsu.Sdk 2.31.2, which builds net10.0, net9.0, net8.0, netstandard2.0 and netstandard2.1.

  • Before: 271 suppressions, mostly for lib/net5.0, net6.0 and net7.0. Package validation reports each one as unnecessary, and pack fails.
  • After: 11 suppressions (10 CP0014, 1 CP0015). These are the real differences on Polyfill shim types (ExperimentalAttribute.UrlFormat, DefaultInterpolatedStringHandler) between net8.0/net9.0 and net9.0/net10.0.

Verification

Run locally on SDK 10.0.403:

dotnet pack SvnToGit/SvnToGit.csproj -c Release -p:SolutionDir=<root>/ -p:SolutionName=SvnToGit
  • On main: fails with "Unnecessary suppressions found" and 261 error lines, the same failure as the Release job.
  • On this branch: exit 0. It produces ktsu.SvnToGit.2.3.1.nupkg and .snupkg.
  • dotnet test SvnToGit.Test passes 51 tests, skips 3 and fails 0. The change has no code.

Once this merges, the Release job should publish 2.3.1, which carries the #133 fix. As the issue notes, Containers#123 and RunCommand have the same stale-file problem and need the same regeneration in their own repos.


Generated by Claude Code

…lds [patch]

The file held 271 suppressions, most naming lib/net5.0, net6.0 or net7.0, which
the pinned ktsu.Sdk no longer builds. Package validation reports each one as an
unnecessary suppression, so dotnet pack fails. Since KtsuBuild started failing
the release on a pack error, every release on main has failed this way, and
2.3.1 never shipped.

Regenerated with -p:ApiCompatGenerateSuppressionFile=true. That leaves the 11
real CP0014/CP0015 differences on Polyfill shim types between net8.0/net9.0 and
net9.0/net10.0, and pack now completes with no errors.

Fixes #151

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW1neHQijj1MhQeHXuM
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants