From df25db86e91b6cc34f0234041e2f5cc82de107c4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 17:27:34 +0000 Subject: [PATCH] Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] Polyfill 11.4.5 changed the nullable and compiler-generated attributes on its embedded ExperimentalAttribute and DefaultInterpolatedStringHandler shims, so package validation reported 10 CP0014 and 1 CP0015 between the net8.0, net9.0 and net10.0 assets, and pack has failed on main since. The diagnostics are on Polyfill's internal shims, not on SingleAppInstance's API. Regenerated with `dotnet pack -c Release -p:ApiCompatGenerateSuppressionFile=true` on SDK 10.0.403. This adds the 11 shim entries and drops the two CP0016 entries on SingleAppInstance that no longer fire. Fixes #207 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017vfJW4kJTwmbNJbKX5P18J --- .../CompatibilitySuppressions.xml | 70 ++++++++++++++++--- 1 file changed, 62 insertions(+), 8 deletions(-) diff --git a/SingleAppInstance/CompatibilitySuppressions.xml b/SingleAppInstance/CompatibilitySuppressions.xml index e861e81..27346e4 100644 --- a/SingleAppInstance/CompatibilitySuppressions.xml +++ b/SingleAppInstance/CompatibilitySuppressions.xml @@ -2,15 +2,69 @@ - CP0016 - T:ktsu.SingleAppInstance.SingleAppInstance:[T:System.Runtime.CompilerServices.NullableAttribute] - lib/net7.0/ktsu.SingleAppInstance.dll - lib/net8.0/ktsu.SingleAppInstance.dll + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.SingleAppInstance.dll + lib/net9.0/ktsu.SingleAppInstance.dll - CP0016 - T:ktsu.SingleAppInstance.SingleAppInstance:[T:System.Runtime.CompilerServices.NullableContextAttribute] - lib/net7.0/ktsu.SingleAppInstance.dll - lib/net8.0/ktsu.SingleAppInstance.dll + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.SingleAppInstance.dll + lib/net9.0/ktsu.SingleAppInstance.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.#ctor(System.Int32,System.Int32,System.IFormatProvider,System.Span{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char},System.Int32,System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.SingleAppInstance.dll + lib/net10.0/ktsu.SingleAppInstance.dll \ No newline at end of file