From 516311be80b195ec1678a059eabc3215919d94e5 Mon Sep 17 00:00:00 2001 From: Matthew Edmondson Date: Fri, 30 Oct 2026 20:31:42 +0000 Subject: [PATCH] Add CompatibilitySuppressions.xml to Color, Cpp, Music and Strings.Identifiers [patch] These four projects multi-target and compile Polyfill shims, but unlike Strings, Paths and Quantities they had no suppression file, so package validation failed the Release step with CP0014/CP0015 on the shim types (ExperimentalAttribute.UrlFormat, DefaultInterpolatedStringHandler) between adjacent TFMs. Generated with -p:ApiCompatGenerateSuppressionFile=true; every entry is a System.* shim and none names a ktsu.* type. Each csproj gets the same explanatory comment Semantics.Strings carries. Fixes #517 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017vfJW2KAa6zCGcN4V3T7ea --- Semantics.Color/CompatibilitySuppressions.xml | 70 +++++++++++++++++++ Semantics.Color/Semantics.Color.csproj | 4 ++ Semantics.Cpp/CompatibilitySuppressions.xml | 58 +++++++++++++++ Semantics.Cpp/Semantics.Cpp.csproj | 4 ++ Semantics.Music/CompatibilitySuppressions.xml | 70 +++++++++++++++++++ Semantics.Music/Semantics.Music.csproj | 4 ++ .../CompatibilitySuppressions.xml | 70 +++++++++++++++++++ .../Semantics.Strings.Identifiers.csproj | 4 ++ 8 files changed, 284 insertions(+) create mode 100644 Semantics.Color/CompatibilitySuppressions.xml create mode 100644 Semantics.Cpp/CompatibilitySuppressions.xml create mode 100644 Semantics.Music/CompatibilitySuppressions.xml create mode 100644 Semantics.Strings.Identifiers/CompatibilitySuppressions.xml diff --git a/Semantics.Color/CompatibilitySuppressions.xml b/Semantics.Color/CompatibilitySuppressions.xml new file mode 100644 index 00000000..0662b3dc --- /dev/null +++ b/Semantics.Color/CompatibilitySuppressions.xml @@ -0,0 +1,70 @@ + + + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.Semantics.Color.dll + lib/net9.0/ktsu.Semantics.Color.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.Semantics.Color.dll + lib/net9.0/ktsu.Semantics.Color.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.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.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.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.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Color.dll + lib/net10.0/ktsu.Semantics.Color.dll + + \ No newline at end of file diff --git a/Semantics.Color/Semantics.Color.csproj b/Semantics.Color/Semantics.Color.csproj index f23abc6d..cfd6c611 100644 --- a/Semantics.Color/Semantics.Color.csproj +++ b/Semantics.Color/Semantics.Color.csproj @@ -4,6 +4,10 @@ net10.0;net9.0;net8.0;netstandard2.0;netstandard2.1 + diff --git a/Semantics.Cpp/CompatibilitySuppressions.xml b/Semantics.Cpp/CompatibilitySuppressions.xml new file mode 100644 index 00000000..840cf302 --- /dev/null +++ b/Semantics.Cpp/CompatibilitySuppressions.xml @@ -0,0 +1,58 @@ + + + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.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.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.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.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Cpp.dll + lib/net10.0/ktsu.Semantics.Cpp.dll + + \ No newline at end of file diff --git a/Semantics.Cpp/Semantics.Cpp.csproj b/Semantics.Cpp/Semantics.Cpp.csproj index b66bcc28..cce409fd 100644 --- a/Semantics.Cpp/Semantics.Cpp.csproj +++ b/Semantics.Cpp/Semantics.Cpp.csproj @@ -7,6 +7,10 @@ a project of its own rather than part of Semantics.Quantities. The same constraint put ktsu.Schema.Cpp outside ktsu.Schema. --> net10.0;net9.0 + diff --git a/Semantics.Music/CompatibilitySuppressions.xml b/Semantics.Music/CompatibilitySuppressions.xml new file mode 100644 index 00000000..3540a4df --- /dev/null +++ b/Semantics.Music/CompatibilitySuppressions.xml @@ -0,0 +1,70 @@ + + + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.Semantics.Music.dll + lib/net9.0/ktsu.Semantics.Music.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.Semantics.Music.dll + lib/net9.0/ktsu.Semantics.Music.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.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.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.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.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Music.dll + lib/net10.0/ktsu.Semantics.Music.dll + + \ No newline at end of file diff --git a/Semantics.Music/Semantics.Music.csproj b/Semantics.Music/Semantics.Music.csproj index 45351162..46b72aad 100644 --- a/Semantics.Music/Semantics.Music.csproj +++ b/Semantics.Music/Semantics.Music.csproj @@ -4,6 +4,10 @@ net10.0;net9.0;net8.0;netstandard2.0;netstandard2.1 + diff --git a/Semantics.Strings.Identifiers/CompatibilitySuppressions.xml b/Semantics.Strings.Identifiers/CompatibilitySuppressions.xml new file mode 100644 index 00000000..6777bae7 --- /dev/null +++ b/Semantics.Strings.Identifiers/CompatibilitySuppressions.xml @@ -0,0 +1,70 @@ + + + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.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.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.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.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.Semantics.Strings.Identifiers.dll + lib/net10.0/ktsu.Semantics.Strings.Identifiers.dll + + \ No newline at end of file diff --git a/Semantics.Strings.Identifiers/Semantics.Strings.Identifiers.csproj b/Semantics.Strings.Identifiers/Semantics.Strings.Identifiers.csproj index bbd0c2c4..7a279a0d 100644 --- a/Semantics.Strings.Identifiers/Semantics.Strings.Identifiers.csproj +++ b/Semantics.Strings.Identifiers/Semantics.Strings.Identifiers.csproj @@ -3,6 +3,10 @@ net10.0;net9.0;net8.0;netstandard2.0;netstandard2.1 +