From faea538bd0dc9228aa9fe302d8143a7668b775cd Mon Sep 17 00:00:00 2001
From: hazre <37149950+hazre@users.noreply.github.com>
Date: Tue, 18 Nov 2025 23:51:47 +0100
Subject: [PATCH] Add .NET 10 support
---
.github/workflows/build.yml | 1 +
.github/workflows/publish_release.yml | 2 +-
Directory.Build.props | 2 +-
HarmonyTests/HarmonyTests.csproj | 2 +-
TestLibrary/TestLibrary.csproj | 4 ++--
5 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 61451414..a3dcdb73 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -29,6 +29,7 @@ jobs:
7.x
8.x
9.x
+ 10.x
- name: Log dotnet info
run: dotnet --info
diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml
index afe4956a..759ced0c 100644
--- a/.github/workflows/publish_release.yml
+++ b/.github/workflows/publish_release.yml
@@ -25,7 +25,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
- dotnet-version: '9.x'
+ dotnet-version: '10.x'
- name: Get Version
id: get_version
diff --git a/Directory.Build.props b/Directory.Build.props
index 1d1f6e9e..ae5bee29 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -4,7 +4,7 @@
2.15.0
2.15.0.0
- 25.3.0
+ 25.3.3
diff --git a/HarmonyTests/HarmonyTests.csproj b/HarmonyTests/HarmonyTests.csproj
index 57c94e89..1737e762 100644
--- a/HarmonyTests/HarmonyTests.csproj
+++ b/HarmonyTests/HarmonyTests.csproj
@@ -1,7 +1,7 @@
- net35;net452;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0
+ net35;net452;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0
true
latest
false
diff --git a/TestLibrary/TestLibrary.csproj b/TestLibrary/TestLibrary.csproj
index 2b50ae00..c7901c06 100644
--- a/TestLibrary/TestLibrary.csproj
+++ b/TestLibrary/TestLibrary.csproj
@@ -1,7 +1,7 @@
- net35;net452;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0
+ net35;net452;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0
true
preview
false
@@ -31,4 +31,4 @@
-
\ No newline at end of file
+