From 45490a75cb016db486fd0c1f853d44f704a655b3 Mon Sep 17 00:00:00 2001
From: Bart Koelman <10324372+bkoelman@users.noreply.github.com>
Date: Sat, 26 Oct 2024 13:06:02 +0200
Subject: [PATCH] Compile JsonApiDotNetCore against .NET 9
---
Directory.Build.props | 2 +-
benchmarks/Benchmarks.csproj | 2 +-
package-versions.props | 2 +-
.../JsonApiDotNetCore.Annotations.csproj | 8 ++++----
src/JsonApiDotNetCore/JsonApiDotNetCore.csproj | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Directory.Build.props b/Directory.Build.props
index 26741df6cb..292bbd51ac 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -27,7 +27,7 @@
direct
- $(NoWarn);NU1608;NETSDK1215
+ $(NoWarn);NU5104;NU1608
diff --git a/benchmarks/Benchmarks.csproj b/benchmarks/Benchmarks.csproj
index 9dbb9ba093..90d53461d2 100644
--- a/benchmarks/Benchmarks.csproj
+++ b/benchmarks/Benchmarks.csproj
@@ -1,7 +1,7 @@
Exe
- net8.0
+ net9.0
true
diff --git a/package-versions.props b/package-versions.props
index 920bee7288..ea72190e29 100644
--- a/package-versions.props
+++ b/package-versions.props
@@ -22,7 +22,7 @@
- N/A
+ 9.0.0
9.0.*
diff --git a/src/JsonApiDotNetCore.Annotations/JsonApiDotNetCore.Annotations.csproj b/src/JsonApiDotNetCore.Annotations/JsonApiDotNetCore.Annotations.csproj
index 04238621da..3ee7f4d420 100644
--- a/src/JsonApiDotNetCore.Annotations/JsonApiDotNetCore.Annotations.csproj
+++ b/src/JsonApiDotNetCore.Annotations/JsonApiDotNetCore.Annotations.csproj
@@ -1,6 +1,6 @@
- net8.0;net6.0;netstandard1.0
+ net9.0;net8.0;net6.0;netstandard2.0
true
true
JsonApiDotNetCore
@@ -31,17 +31,17 @@
-
+
-
+
-
+
diff --git a/src/JsonApiDotNetCore/JsonApiDotNetCore.csproj b/src/JsonApiDotNetCore/JsonApiDotNetCore.csproj
index 0f395511a7..b6fdb6e8e3 100644
--- a/src/JsonApiDotNetCore/JsonApiDotNetCore.csproj
+++ b/src/JsonApiDotNetCore/JsonApiDotNetCore.csproj
@@ -1,6 +1,6 @@
- net8.0;net6.0
+ net9.0;net8.0;net6.0
true
true