From 985499a863483640d467b1e61cdec2f6f65a7823 Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Sat, 16 Nov 2024 21:21:22 +0100 Subject: [PATCH 1/2] rename Log to LogExtensions --- .../Codebreaker.GameAPIs.Client/{Log.cs => LogExtensions.cs} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/clients/Codebreaker.GameAPIs.Client/{Log.cs => LogExtensions.cs} (98%) diff --git a/src/clients/Codebreaker.GameAPIs.Client/Log.cs b/src/clients/Codebreaker.GameAPIs.Client/LogExtensions.cs similarity index 98% rename from src/clients/Codebreaker.GameAPIs.Client/Log.cs rename to src/clients/Codebreaker.GameAPIs.Client/LogExtensions.cs index dc418852..479e59a6 100644 --- a/src/clients/Codebreaker.GameAPIs.Client/Log.cs +++ b/src/clients/Codebreaker.GameAPIs.Client/LogExtensions.cs @@ -1,6 +1,6 @@ namespace Codebreaker.GameAPIs.Client; -internal static partial class Log +internal static partial class LogExtensions { [LoggerMessage(2000, LogLevel.Information, "GetGameAsync game {GameId} not found: {ErrorMessage}", EventName = "GetGame")] public static partial void GetGameNotFound(this ILogger logger, Guid gameId, string errorMessage); From 9dc557bced6b2acf05048e14f330247473bd68cc Mon Sep 17 00:00:00 2001 From: Christian Nagel Date: Sat, 16 Nov 2024 21:21:56 +0100 Subject: [PATCH 2/2] .NET 9 updates --- .../Codebreaker.GameAPIs.Client.Tests.csproj | 12 ++++++------ .../Codebreaker.GameAPIs.Client.csproj | 16 +++++++++------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/clients/Codebreaker.GameAPIs.Client.Tests/Codebreaker.GameAPIs.Client.Tests.csproj b/src/clients/Codebreaker.GameAPIs.Client.Tests/Codebreaker.GameAPIs.Client.Tests.csproj index c5d130d4..5f41c17c 100644 --- a/src/clients/Codebreaker.GameAPIs.Client.Tests/Codebreaker.GameAPIs.Client.Tests.csproj +++ b/src/clients/Codebreaker.GameAPIs.Client.Tests/Codebreaker.GameAPIs.Client.Tests.csproj @@ -1,7 +1,7 @@ - net7.0;net8.0 + net8.0;net9.0 enable enable @@ -10,11 +10,11 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj b/src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj index 53efccf3..70867b1b 100644 --- a/src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj +++ b/src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj @@ -2,10 +2,10 @@ CNinnovation.Codebreaker.GamesClient - net7.0;net8.0 + net8.0;net9.0 enable enable - preview + latest Codebreaker;CNinnovation;GamesClient; @@ -15,6 +15,7 @@ readme.md codebreaker.jpeg + 3.8.0 @@ -22,12 +23,13 @@ - - - - + - + + + + +