Conversation
Polyfill 11.4.5 embeds ExperimentalAttribute and DefaultInterpolatedStringHandler with different nullable and compiler-generated attributes per target framework, so `dotnet pack` failed ApiCompat package validation (CP0014/CP0015) between the net8.0, net9.0 and net10.0 assets. main has been red at pack since Oct 14 and nothing has been released since v2.0.9. Generated with -p:ApiCompatGenerateSuppressionFile=true. Every suppression targets a type in System.Diagnostics.CodeAnalysis or System.Runtime.CompilerServices that Polyfill embeds; none covers TUI's own API. Fixes #259 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vfJW2kkxDaFKYetxhPcC9
|
This was referenced Nov 13, 2026
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.



Fixes #259
What changed
TUI/CompatibilitySuppressions.xml, generated withdotnet pack TUI/TUI.csproj -c Release -p:ApiCompatGenerateSuppressionFile=true. This is the same fix ScopedAction used (Regenerate CompatibilitySuppressions.xml for the TFMs the SDK now builds [patch] ScopedAction#86).lib/net8.0,lib/net9.0andlib/net10.0assets. Every one targetsSystem.Diagnostics.CodeAnalysis.ExperimentalAttributeorSystem.Runtime.CompilerServices.DefaultInterpolatedStringHandler, which Polyfill 11.4.5 embeds with different nullable/compiler-generated attributes per TFM. None of them covers TUI's own API, so package validation still guards TUI's public surface.Tests
main(72ef8aa),dotnet pack TUI/TUI.csproj -c Releasefails package validation with the CP0014/CP0015 errors from the issue.TUI/bin,TUI/objremoved), the same command succeeds and createsktsu.TUI.2.1.0.nupkgand.snupkg.dotnet test): 348/348 pass.After this lands, the Release step may still be blocked by the org-wide expired NuGet key (ktsu-dev/.github#48). That is a separate problem.
Generated by Claude Code