From 6392259fd3a9d8b4fb380b0430548d7c594ce334 Mon Sep 17 00:00:00 2001 From: yreynhout Date: Thu, 23 Nov 2023 13:57:42 +0100 Subject: [PATCH] feat: upgrade everything to .net 8.0 lts --- .config/dotnet-tools.json | 2 +- global.json | 2 +- .../AxonIQ.AxonServer.Connector.csproj | 8 ++++---- .../AxonIQ.AxonServer.Embedded.csproj | 2 +- src/Benchmarks/Benchmarks.csproj | 10 +++++----- src/Sample/Sample.csproj | 12 ++++++------ .../AxonIQ.AxonClusterIntegrationTests.csproj | 14 +++++++------- .../AxonIQ.AxonServer.Connector.Tests.csproj | 16 ++++++++-------- .../AxonServerConnectorOptionsTests.cs | 4 ++-- .../ServiceCollectionExtensionsTests.cs | 2 +- .../AxonIQ.AxonServerIntegrationTests.csproj | 10 +++++----- 11 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 7948667..8c3c579 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-outdated-tool": { - "version": "4.1.0", + "version": "4.6.0", "commands": [ "dotnet-outdated" ] diff --git a/global.json b/global.json index 9fbac5c..8a1056e 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "6.0.417" + "version": "8.0.100" } } \ No newline at end of file diff --git a/src/AxonIQ.AxonServer.Connector/AxonIQ.AxonServer.Connector.csproj b/src/AxonIQ.AxonServer.Connector/AxonIQ.AxonServer.Connector.csproj index da2b802..67877d9 100644 --- a/src/AxonIQ.AxonServer.Connector/AxonIQ.AxonServer.Connector.csproj +++ b/src/AxonIQ.AxonServer.Connector/AxonIQ.AxonServer.Connector.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable AxonIQ.AxonServer.Connector @@ -27,10 +27,10 @@ - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/AxonIQ.AxonServer.Embedded/AxonIQ.AxonServer.Embedded.csproj b/src/AxonIQ.AxonServer.Embedded/AxonIQ.AxonServer.Embedded.csproj index 02b95c2..1f53be2 100644 --- a/src/AxonIQ.AxonServer.Embedded/AxonIQ.AxonServer.Embedded.csproj +++ b/src/AxonIQ.AxonServer.Embedded/AxonIQ.AxonServer.Embedded.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable AxonIQ.AxonServer.Embedded diff --git a/src/Benchmarks/Benchmarks.csproj b/src/Benchmarks/Benchmarks.csproj index a8253c4..87748b5 100644 --- a/src/Benchmarks/Benchmarks.csproj +++ b/src/Benchmarks/Benchmarks.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable disable @@ -13,11 +13,11 @@ - - + + - - + + diff --git a/src/Sample/Sample.csproj b/src/Sample/Sample.csproj index 09ab4f9..4be19fb 100644 --- a/src/Sample/Sample.csproj +++ b/src/Sample/Sample.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/test/AxonIQ.AxonClusterIntegrationTests/AxonIQ.AxonClusterIntegrationTests.csproj b/test/AxonIQ.AxonClusterIntegrationTests/AxonIQ.AxonClusterIntegrationTests.csproj index e1eda80..a270ce1 100644 --- a/test/AxonIQ.AxonClusterIntegrationTests/AxonIQ.AxonClusterIntegrationTests.csproj +++ b/test/AxonIQ.AxonClusterIntegrationTests/AxonIQ.AxonClusterIntegrationTests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable 633c5eac-a5c9-478c-ae4b-c9fdb8da37ea @@ -15,18 +15,18 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/test/AxonIQ.AxonServer.Connector.Tests/AxonIQ.AxonServer.Connector.Tests.csproj b/test/AxonIQ.AxonServer.Connector.Tests/AxonIQ.AxonServer.Connector.Tests.csproj index 3b1b14e..07763af 100644 --- a/test/AxonIQ.AxonServer.Connector.Tests/AxonIQ.AxonServer.Connector.Tests.csproj +++ b/test/AxonIQ.AxonServer.Connector.Tests/AxonIQ.AxonServer.Connector.Tests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable AxonIQ.AxonServer.Connector.Tests @@ -21,21 +21,21 @@ - - - + + + - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/AxonIQ.AxonServer.Connector.Tests/AxonServerConnectorOptionsTests.cs b/test/AxonIQ.AxonServer.Connector.Tests/AxonServerConnectorOptionsTests.cs index 0977ffa..8862130 100644 --- a/test/AxonIQ.AxonServer.Connector.Tests/AxonServerConnectorOptionsTests.cs +++ b/test/AxonIQ.AxonServer.Connector.Tests/AxonServerConnectorOptionsTests.cs @@ -409,7 +409,7 @@ public void FromMinimalConfigurationReturnsExpectedResult() var component = _fixture.Create(); var source = new MemoryConfigurationSource { - InitialData = new KeyValuePair[] + InitialData = new KeyValuePair[] { new(AxonServerConnectorConfiguration.ComponentName, component.ToString()) } @@ -440,7 +440,7 @@ public void FromConfigurationWithClientInstanceIdReturnsExpectedResult() var clientInstance = _fixture.Create(); var source = new MemoryConfigurationSource { - InitialData = new KeyValuePair[] + InitialData = new KeyValuePair[] { new(AxonServerConnectorConfiguration.ComponentName, component.ToString()), new(AxonServerConnectorConfiguration.ClientInstanceId, clientInstance.ToString()) diff --git a/test/AxonIQ.AxonServer.Connector.Tests/ServiceCollectionExtensionsTests.cs b/test/AxonIQ.AxonServer.Connector.Tests/ServiceCollectionExtensionsTests.cs index 75bddab..dbb6400 100644 --- a/test/AxonIQ.AxonServer.Connector.Tests/ServiceCollectionExtensionsTests.cs +++ b/test/AxonIQ.AxonServer.Connector.Tests/ServiceCollectionExtensionsTests.cs @@ -281,7 +281,7 @@ private static ConfigurationRoot CreateMinimalConfiguration(ComponentName compon { var source = new MemoryConfigurationSource { - InitialData = new KeyValuePair[] + InitialData = new KeyValuePair[] { new( AxonServerConnectorConfiguration.DefaultSection + ":" + diff --git a/test/AxonIQ.AxonServerIntegrationTests/AxonIQ.AxonServerIntegrationTests.csproj b/test/AxonIQ.AxonServerIntegrationTests/AxonIQ.AxonServerIntegrationTests.csproj index 5ccc29b..3823dfc 100644 --- a/test/AxonIQ.AxonServerIntegrationTests/AxonIQ.AxonServerIntegrationTests.csproj +++ b/test/AxonIQ.AxonServerIntegrationTests/AxonIQ.AxonServerIntegrationTests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable @@ -18,15 +18,15 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - +