From 599ee9f70b01516a3930a7cb0a99dfff49ab6101 Mon Sep 17 00:00:00 2001
From: skwasjer <11424653+skwasjer@users.noreply.github.com>
Date: Sun, 8 Sep 2024 17:55:26 +0200
Subject: [PATCH] feat: add .NET 9
---
.github/workflows/codeql-analysis.yml | 1 +
.github/workflows/main.yml | 1 +
.github/workflows/sonarcloud.yml | 1 +
Directory.Build.props | 4 ++++
src/Correlate.Abstractions/Correlate.Abstractions.csproj | 3 ++-
src/Correlate.AspNetCore/Correlate.AspNetCore.csproj | 3 ++-
src/Correlate.Core/Correlate.Core.csproj | 3 ++-
.../Correlate.DependencyInjection.csproj | 3 ++-
.../Correlate.AspNetCore.Tests.csproj | 3 ++-
test/Correlate.Benchmarks/Correlate.Benchmarks.csproj | 3 ++-
test/Correlate.Core.Tests/Correlate.Core.Tests.csproj | 3 ++-
.../Correlate.DependencyInjection.Tests.csproj | 3 ++-
test/Correlate.Testing/Correlate.Testing.csproj | 3 ++-
13 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 47b16c3..0a4b484 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -24,6 +24,7 @@ env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
dotnet-version: |
+ 9.0.x
8.0.x
6.0.x
3.1.x
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8162008..14058c8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,6 +12,7 @@ env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
dotnet-version: |
+ 9.0.x
8.0.x
6.0.x
3.1.x
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index d0b3043..38ae26b 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -13,6 +13,7 @@ env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
dotnet-version: |
+ 9.0.x
8.0.x
6.0.x
3.1.x
diff --git a/Directory.Build.props b/Directory.Build.props
index 8cc6495..c5ee043 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -18,6 +18,10 @@
+ 9.0.0
+
+
+
8.0.0
diff --git a/src/Correlate.Abstractions/Correlate.Abstractions.csproj b/src/Correlate.Abstractions/Correlate.Abstractions.csproj
index dfaae7a..8edc4e4 100644
--- a/src/Correlate.Abstractions/Correlate.Abstractions.csproj
+++ b/src/Correlate.Abstractions/Correlate.Abstractions.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0;netstandard2.0
+ net9.0;net8.0;net6.0;netstandard2.0
+ $(TargetFrameworks);netx.0
Correlate
diff --git a/src/Correlate.AspNetCore/Correlate.AspNetCore.csproj b/src/Correlate.AspNetCore/Correlate.AspNetCore.csproj
index 2deeaad..c1bcf2e 100644
--- a/src/Correlate.AspNetCore/Correlate.AspNetCore.csproj
+++ b/src/Correlate.AspNetCore/Correlate.AspNetCore.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0
+ net9.0;net8.0;net6.0
+ $(TargetFrameworks);netx.0
Correlate
diff --git a/src/Correlate.Core/Correlate.Core.csproj b/src/Correlate.Core/Correlate.Core.csproj
index f657b01..2f9ef5a 100644
--- a/src/Correlate.Core/Correlate.Core.csproj
+++ b/src/Correlate.Core/Correlate.Core.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0;netstandard2.0
+ net9.0;net8.0;net6.0;netstandard2.0
+ $(TargetFrameworks);netx.0
Correlate
diff --git a/src/Correlate.DependencyInjection/Correlate.DependencyInjection.csproj b/src/Correlate.DependencyInjection/Correlate.DependencyInjection.csproj
index 7619f22..7417c95 100644
--- a/src/Correlate.DependencyInjection/Correlate.DependencyInjection.csproj
+++ b/src/Correlate.DependencyInjection/Correlate.DependencyInjection.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0;netstandard2.0
+ net9.0;net8.0;net6.0;netstandard2.0
+ $(TargetFrameworks);netx.0
diff --git a/test/Correlate.AspNetCore.Tests/Correlate.AspNetCore.Tests.csproj b/test/Correlate.AspNetCore.Tests/Correlate.AspNetCore.Tests.csproj
index 7c989c3..b074e18 100644
--- a/test/Correlate.AspNetCore.Tests/Correlate.AspNetCore.Tests.csproj
+++ b/test/Correlate.AspNetCore.Tests/Correlate.AspNetCore.Tests.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0
+ net9.0;net8.0;net6.0
+ $(TargetFrameworks);netx.0
true
Correlate
diff --git a/test/Correlate.Benchmarks/Correlate.Benchmarks.csproj b/test/Correlate.Benchmarks/Correlate.Benchmarks.csproj
index 2366d63..be2952a 100644
--- a/test/Correlate.Benchmarks/Correlate.Benchmarks.csproj
+++ b/test/Correlate.Benchmarks/Correlate.Benchmarks.csproj
@@ -2,7 +2,8 @@
Exe
- net8.0;net6.0
+ net9.0;net8.0;net6.0
+ $(TargetFrameworks);netx.0
enable
enable
false
diff --git a/test/Correlate.Core.Tests/Correlate.Core.Tests.csproj b/test/Correlate.Core.Tests/Correlate.Core.Tests.csproj
index 4bfea15..5dd712c 100644
--- a/test/Correlate.Core.Tests/Correlate.Core.Tests.csproj
+++ b/test/Correlate.Core.Tests/Correlate.Core.Tests.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0;netcoreapp3.1
+ net9.0;net8.0;net6.0;netcoreapp3.1
+ $(TargetFrameworks);netx.0
true
Correlate
diff --git a/test/Correlate.DependencyInjection.Tests/Correlate.DependencyInjection.Tests.csproj b/test/Correlate.DependencyInjection.Tests/Correlate.DependencyInjection.Tests.csproj
index c4c1e18..caa5b6f 100644
--- a/test/Correlate.DependencyInjection.Tests/Correlate.DependencyInjection.Tests.csproj
+++ b/test/Correlate.DependencyInjection.Tests/Correlate.DependencyInjection.Tests.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0;netcoreapp3.1
+ net9.0;net8.0;net6.0;netcoreapp3.1
+ $(TargetFrameworks);netx.0
true
Correlate.DependencyInjection
diff --git a/test/Correlate.Testing/Correlate.Testing.csproj b/test/Correlate.Testing/Correlate.Testing.csproj
index 70575ca..7bc2e5d 100644
--- a/test/Correlate.Testing/Correlate.Testing.csproj
+++ b/test/Correlate.Testing/Correlate.Testing.csproj
@@ -1,7 +1,8 @@
- net8.0;net6.0;netstandard2.1
+ net9.0;net8.0;net6.0;netstandard2.1
+ $(TargetFrameworks);netx.0
false