From aff01e0ec00d63331b51d3c301093482aa7404dd Mon Sep 17 00:00:00 2001 From: Erwin Date: Mon, 6 Apr 2026 12:57:04 +0200 Subject: [PATCH 1/2] Centralize langVersion Signed-off-by: Erwin --- README.md | 2 +- .../CloudNative.CloudEvents.Amqp.csproj | 1 - .../CloudNative.CloudEvents.AspNetCore.csproj | 1 - .../CloudNative.CloudEvents.Avro.csproj | 1 - .../CloudNative.CloudEvents.Kafka.csproj | 1 - .../CloudNative.CloudEvents.Mqtt.csproj | 1 - .../CloudNative.CloudEvents.NewtonsoftJson.csproj | 1 - .../CloudNative.CloudEvents.Protobuf.csproj | 3 +-- .../CloudNative.CloudEvents.SystemTextJson.csproj | 1 - src/CloudNative.CloudEvents/CloudNative.CloudEvents.csproj | 1 - src/Directory.Build.props | 1 + 11 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index dce6ec8c..a510c37f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This SDK current supports the following versions of CloudEvents: # sdk-csharp -.NET Standard 2.0 (C#) SDK for CloudEvents +.NET (C#) SDK for CloudEvents The `CloudNative.CloudEvents` package provides support for creating, encoding, decoding, sending, and receiving [CNCF diff --git a/src/CloudNative.CloudEvents.Amqp/CloudNative.CloudEvents.Amqp.csproj b/src/CloudNative.CloudEvents.Amqp/CloudNative.CloudEvents.Amqp.csproj index ffa214be..1c124041 100644 --- a/src/CloudNative.CloudEvents.Amqp/CloudNative.CloudEvents.Amqp.csproj +++ b/src/CloudNative.CloudEvents.Amqp/CloudNative.CloudEvents.Amqp.csproj @@ -3,7 +3,6 @@ netstandard2.0;netstandard2.1;net8.0 AMQP extensions for CloudNative.CloudEvents - 10.0 enable cncf;cloudnative;cloudevents;events;amqp diff --git a/src/CloudNative.CloudEvents.AspNetCore/CloudNative.CloudEvents.AspNetCore.csproj b/src/CloudNative.CloudEvents.AspNetCore/CloudNative.CloudEvents.AspNetCore.csproj index fa43ad4c..c401d456 100644 --- a/src/CloudNative.CloudEvents.AspNetCore/CloudNative.CloudEvents.AspNetCore.csproj +++ b/src/CloudNative.CloudEvents.AspNetCore/CloudNative.CloudEvents.AspNetCore.csproj @@ -3,7 +3,6 @@ netstandard2.0;netstandard2.1;net8.0 ASP.Net Core extensions for CloudNative.CloudEvents - 10.0 enable cncf;cloudnative;cloudevents;events;aspnetcore;aspnet diff --git a/src/CloudNative.CloudEvents.Avro/CloudNative.CloudEvents.Avro.csproj b/src/CloudNative.CloudEvents.Avro/CloudNative.CloudEvents.Avro.csproj index 5c4d1490..f0479f7d 100644 --- a/src/CloudNative.CloudEvents.Avro/CloudNative.CloudEvents.Avro.csproj +++ b/src/CloudNative.CloudEvents.Avro/CloudNative.CloudEvents.Avro.csproj @@ -4,7 +4,6 @@ netstandard2.0;netstandard2.1;net8.0 Avro extensions for CloudNative.CloudEvents cncf;cloudnative;cloudevents;events;avro - 10.0 enable diff --git a/src/CloudNative.CloudEvents.Kafka/CloudNative.CloudEvents.Kafka.csproj b/src/CloudNative.CloudEvents.Kafka/CloudNative.CloudEvents.Kafka.csproj index f200659e..e851a804 100644 --- a/src/CloudNative.CloudEvents.Kafka/CloudNative.CloudEvents.Kafka.csproj +++ b/src/CloudNative.CloudEvents.Kafka/CloudNative.CloudEvents.Kafka.csproj @@ -4,7 +4,6 @@ netstandard2.0;netstandard2.1;net8.0 Kafka extensions for CloudNative.CloudEvents cncf;cloudnative;cloudevents;events;kafka - 10.0 enable diff --git a/src/CloudNative.CloudEvents.Mqtt/CloudNative.CloudEvents.Mqtt.csproj b/src/CloudNative.CloudEvents.Mqtt/CloudNative.CloudEvents.Mqtt.csproj index 43cff5ef..f3c0a31b 100644 --- a/src/CloudNative.CloudEvents.Mqtt/CloudNative.CloudEvents.Mqtt.csproj +++ b/src/CloudNative.CloudEvents.Mqtt/CloudNative.CloudEvents.Mqtt.csproj @@ -4,7 +4,6 @@ netstandard2.0;netstandard2.1;net8.0 MQTT extensions for CloudNative.CloudEvents cncf;cloudnative;cloudevents;events;mqtt - 10.0 3.$(MinorVersion).$(PatchVersion) 3.$(PackageValidationMinor).0 enable diff --git a/src/CloudNative.CloudEvents.NewtonsoftJson/CloudNative.CloudEvents.NewtonsoftJson.csproj b/src/CloudNative.CloudEvents.NewtonsoftJson/CloudNative.CloudEvents.NewtonsoftJson.csproj index c214f02c..005fb871 100644 --- a/src/CloudNative.CloudEvents.NewtonsoftJson/CloudNative.CloudEvents.NewtonsoftJson.csproj +++ b/src/CloudNative.CloudEvents.NewtonsoftJson/CloudNative.CloudEvents.NewtonsoftJson.csproj @@ -3,7 +3,6 @@ netstandard2.0;netstandard2.1;net8.0 JSON support for the CNCF CloudEvents SDK, based on Newtonsoft.Json. - 10.0 enable cncf;cloudnative;cloudevents;events;json;newtonsoft diff --git a/src/CloudNative.CloudEvents.Protobuf/CloudNative.CloudEvents.Protobuf.csproj b/src/CloudNative.CloudEvents.Protobuf/CloudNative.CloudEvents.Protobuf.csproj index ed0cd689..b451ee56 100644 --- a/src/CloudNative.CloudEvents.Protobuf/CloudNative.CloudEvents.Protobuf.csproj +++ b/src/CloudNative.CloudEvents.Protobuf/CloudNative.CloudEvents.Protobuf.csproj @@ -1,10 +1,9 @@ - netstandard2.0;netstandard2.1;net8.0 + netstandard2.0;netstandard2.1;net8.0 Support for the Protobuf event format in for CloudNative.CloudEvents cncf;cloudnative;cloudevents;events;protobuf - 10.0 enable diff --git a/src/CloudNative.CloudEvents.SystemTextJson/CloudNative.CloudEvents.SystemTextJson.csproj b/src/CloudNative.CloudEvents.SystemTextJson/CloudNative.CloudEvents.SystemTextJson.csproj index b188ac8b..dde18c8e 100644 --- a/src/CloudNative.CloudEvents.SystemTextJson/CloudNative.CloudEvents.SystemTextJson.csproj +++ b/src/CloudNative.CloudEvents.SystemTextJson/CloudNative.CloudEvents.SystemTextJson.csproj @@ -3,7 +3,6 @@ netstandard2.0;netstandard2.1;net8.0 JSON support for the CNCF CloudEvents SDK, based on System.Text.Json. - 10.0 cncf;cloudnative;cloudevents;events;json;systemtextjson enable diff --git a/src/CloudNative.CloudEvents/CloudNative.CloudEvents.csproj b/src/CloudNative.CloudEvents/CloudNative.CloudEvents.csproj index 27f87357..aa85f9b5 100644 --- a/src/CloudNative.CloudEvents/CloudNative.CloudEvents.csproj +++ b/src/CloudNative.CloudEvents/CloudNative.CloudEvents.csproj @@ -3,7 +3,6 @@ netstandard2.0;netstandard2.1;net8.0 CNCF CloudEvents SDK - latest enable cloudnative;cloudevents;events diff --git a/src/Directory.Build.props b/src/Directory.Build.props index e093cefd..46b6c02c 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -26,6 +26,7 @@ True True True + 10.0 true true true From 3bb830b2b3a64399f70d7914effc5877e03b2e89 Mon Sep 17 00:00:00 2001 From: Erwin Date: Mon, 6 Apr 2026 13:16:25 +0200 Subject: [PATCH 2/2] Add comment to langversion usage Signed-off-by: Erwin --- src/Directory.Build.props | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 46b6c02c..1fcb581b 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -26,6 +26,7 @@ True True True + 10.0 true true