Skip to content

Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] - #84

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

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

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Fixes #83

What changed

ImGuiProvider/CompatibilitySuppressions.xml was regenerated with -p:ApiCompatGenerateSuppressionFile=true against the pinned ktsu.Sdk 2.31.2.

  • Before: 53 suppressions. 42 of them no longer match anything, because Polyfill 11.4.5 changed which shim types and members it emits per target framework. They break down as 6 CP0001, 22 CP0002, 1 CP0008, 1 CP0014 and 13 CP0016, for example FeatureGuardAttribute and OverloadResolutionPriorityAttribute between net8.0 and net9.0. Package validation reports them as "Unnecessary suppressions found" and pack fails.
  • After: 11 suppressions. The diff only deletes lines (−252), so the 11 that remain are unchanged.

This is the same regeneration as SvnToGit#153, Containers#124, RunCommand#127 and CaseConverter#151. There is no code change.

Verification

Run locally on SDK 10.0.403:

dotnet pack ImGuiProvider/ImGuiProvider.csproj -c Release -p:SolutionDir=<root>/ -p:SolutionName=ImGuiProvider
  • On main: fails with "Unnecessary suppressions found", the same failure as the Release job.
  • On this branch, from a clean bin/obj: exit 0. It produces ktsu.ImGuiProvider.2.0.2-pre.1.nupkg and .snupkg.
  • dotnet test --project ImGuiProvider.Test: 71 passed, 0 failed.

Once this merges, the Release job can publish the fixes merged since v2.0.1.


Generated by Claude Code

…mp [patch]

Polyfill 11.4.5 changed which shim types and members it emits per target
framework, so 42 of the 53 suppressions (CP0001, CP0002, CP0008, CP0014 and
CP0016 on polyfilled types) no longer match anything and package validation
failed the Release step with "Unnecessary suppressions found". Regenerated
with -p:ApiCompatGenerateSuppressionFile=true; the 11 that remain are
unchanged.

Fixes #83

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vfJW2KAa6zCGcN4V3T7ea
@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

Development

Successfully merging this pull request may close these issues.

No release since Oct 9: pack fails on stale CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump

1 participant