From 7b67820197817c148688bc55366387c7dc6956ba Mon Sep 17 00:00:00 2001 From: Matthew Edmondson Date: Fri, 30 Oct 2026 20:26:51 +0000 Subject: [PATCH] Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] Polyfill 11.4.5 changed which shim members are emitted per target framework, so 10 of the 21 suppressions (NullabilityInfo.*, ExperimentalAttribute.UrlFormat and DefaultInterpolatedStringHandler between net5.0/net6.0/net7.0) 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 still needed. Fixes #126 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017vfJW2KAa6zCGcN4V3T7ea --- RunCommand/CompatibilitySuppressions.xml | 60 ------------------------ 1 file changed, 60 deletions(-) diff --git a/RunCommand/CompatibilitySuppressions.xml b/RunCommand/CompatibilitySuppressions.xml index 26fec35..3f5925b 100644 --- a/RunCommand/CompatibilitySuppressions.xml +++ b/RunCommand/CompatibilitySuppressions.xml @@ -1,42 +1,6 @@  - - CP0014 - M:System.Reflection.NullabilityInfo.get_ElementType:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] - lib/net6.0/ktsu.RunCommand.dll - lib/net7.0/ktsu.RunCommand.dll - - - CP0014 - M:System.Reflection.NullabilityInfo.get_GenericTypeArguments:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] - lib/net6.0/ktsu.RunCommand.dll - lib/net7.0/ktsu.RunCommand.dll - - - CP0014 - M:System.Reflection.NullabilityInfo.get_ReadState:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] - lib/net6.0/ktsu.RunCommand.dll - lib/net7.0/ktsu.RunCommand.dll - - - CP0014 - M:System.Reflection.NullabilityInfo.get_Type:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] - lib/net6.0/ktsu.RunCommand.dll - lib/net7.0/ktsu.RunCommand.dll - - - CP0014 - M:System.Reflection.NullabilityInfo.get_WriteState:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] - lib/net6.0/ktsu.RunCommand.dll - lib/net7.0/ktsu.RunCommand.dll - - - CP0014 - M:System.Runtime.Versioning.OSPlatformAttribute.get_PlatformName:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] - lib/net6.0/ktsu.RunCommand.dll - lib/net7.0/ktsu.RunCommand.dll - CP0014 M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] @@ -97,30 +61,6 @@ lib/net9.0/ktsu.RunCommand.dll lib/net10.0/ktsu.RunCommand.dll - - CP0015 - T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute:[T:System.AttributeUsageAttribute] - lib/net5.0/ktsu.RunCommand.dll - lib/net6.0/ktsu.RunCommand.dll - - - CP0015 - T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute:[T:System.AttributeUsageAttribute] - lib/net5.0/ktsu.RunCommand.dll - lib/net6.0/ktsu.RunCommand.dll - - - CP0015 - T:System.Runtime.Versioning.SupportedOSPlatformAttribute:[T:System.AttributeUsageAttribute] - lib/net5.0/ktsu.RunCommand.dll - lib/net6.0/ktsu.RunCommand.dll - - - CP0015 - T:System.Runtime.Versioning.UnsupportedOSPlatformAttribute:[T:System.AttributeUsageAttribute] - lib/net5.0/ktsu.RunCommand.dll - lib/net6.0/ktsu.RunCommand.dll - CP0015 T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute]