From 9463c452774341c8a3ad7ea53ad8ac22d9236df5 Mon Sep 17 00:00:00 2001
From: Copilot <198982749+Copilot@users.noreply.github.com>
Date: Wed, 12 Nov 2025 10:53:47 +0100
Subject: [PATCH] Add .NET 10 target framework and update System.* packages to
10.0.0 (#2035)
* Initial plan
* Add .NET 10 support and update System.* packages to 10.0.0
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add .NET 10 SDK setup to GitHub workflows
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
---
.github/workflows/master.yml | 3 +++
.github/workflows/pull requests.yml | 3 +++
Aga.Controls/Aga.Controls.csproj | 2 +-
LibreHardwareMonitor/LibreHardwareMonitor.csproj | 6 +++---
LibreHardwareMonitorLib/LibreHardwareMonitorLib.csproj | 8 ++++----
5 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index b34744a..4cc490a 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -9,6 +9,9 @@ jobs:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-dotnet@v5
+ with:
+ dotnet-version: '10.0.x'
- uses: nuget/setup-nuget@v2
- uses: microsoft/setup-msbuild@v1.1
with:
diff --git a/.github/workflows/pull requests.yml b/.github/workflows/pull requests.yml
index 5cd9b66..90af518 100644
--- a/.github/workflows/pull requests.yml
+++ b/.github/workflows/pull requests.yml
@@ -9,6 +9,9 @@ jobs:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-dotnet@v5
+ with:
+ dotnet-version: '10.0.x'
- uses: nuget/setup-nuget@v2
- uses: microsoft/setup-msbuild@v1.1
with:
diff --git a/Aga.Controls/Aga.Controls.csproj b/Aga.Controls/Aga.Controls.csproj
index afd08e0..518c81c 100644
--- a/Aga.Controls/Aga.Controls.csproj
+++ b/Aga.Controls/Aga.Controls.csproj
@@ -123,6 +123,6 @@
-
+
diff --git a/LibreHardwareMonitor/LibreHardwareMonitor.csproj b/LibreHardwareMonitor/LibreHardwareMonitor.csproj
index a5d6a17..1237564 100644
--- a/LibreHardwareMonitor/LibreHardwareMonitor.csproj
+++ b/LibreHardwareMonitor/LibreHardwareMonitor.csproj
@@ -26,12 +26,12 @@
none
-
-
+
+
-
+
diff --git a/LibreHardwareMonitorLib/LibreHardwareMonitorLib.csproj b/LibreHardwareMonitorLib/LibreHardwareMonitorLib.csproj
index 1c177eb..9c317a8 100644
--- a/LibreHardwareMonitorLib/LibreHardwareMonitorLib.csproj
+++ b/LibreHardwareMonitorLib/LibreHardwareMonitorLib.csproj
@@ -1,6 +1,6 @@
- net472;netstandard2.0;net8.0;net9.0
+ net472;netstandard2.0;net8.0;net9.0;net10.0
LibreHardwareMonitorLib
LibreHardwareMonitor
true
@@ -50,7 +50,7 @@
-
+
@@ -62,9 +62,9 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
-
+