From fc6e680638494cb5806355d08a1ad42ec95f9ef6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20C=C3=A9let?=
<1457422+gcelet@users.noreply.github.com>
Date: Sat, 15 Nov 2025 17:38:51 +0100
Subject: [PATCH] :sparkles: feat: add support for dotnet 10
---
.github/workflows/continuous.yml | 5 +++--
Directory.Packages.props | 6 ++++++
ProtectedNumbers.sln | 3 ++-
build/_build.csproj | 5 ++++-
global.json | 2 +-
.../ProtectedNumbers.Samples.csproj | 2 +-
src/ProtectedNumbers/ProtectedNumbers.csproj | 2 +-
tst/ProtectedNumbers.Tests/ProtectedNumbers.Tests.csproj | 2 +-
8 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml
index 2a0c876..c3b7f91 100644
--- a/.github/workflows/continuous.yml
+++ b/.github/workflows/continuous.yml
@@ -48,13 +48,14 @@ jobs:
- name: Setup latest dotnet sdk
uses: actions/setup-dotnet@v5
with:
- dotnet-version: 9.0
- - name: Install ASP.NET Core runtimes (6.0, 8.0)
+ dotnet-version: 10.0
+ - name: Install ASP.NET Core runtimes (6.0, 8.0, 9.0)
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
6.0.x
8.0.x
+ 9.0.x
package-type: aspnetcore-runtime
- name: 'Run: ensure build.cmd script to be executable'
run: chmod +x ./build.cmd
diff --git a/Directory.Packages.props b/Directory.Packages.props
index c8a5f88..bb8db7f 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -7,6 +7,9 @@
+
+
+
@@ -30,4 +33,7 @@
+
+
+
diff --git a/ProtectedNumbers.sln b/ProtectedNumbers.sln
index 4e00fb5..f492bf2 100644
--- a/ProtectedNumbers.sln
+++ b/ProtectedNumbers.sln
@@ -21,9 +21,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "02-files", "02-files", "{DF
PackageReadme.md = PackageReadme.md
Directory.Build.props = Directory.Build.props
.editorconfig = .editorconfig
- .junie\guidelines.md = .junie\guidelines.md
PackageIcon.png = PackageIcon.png
.config\dotnet-tools.json = .config\dotnet-tools.json
+ global.json = global.json
+ .junie\guidelines.md = .junie\guidelines.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "01-src", "01-src", "{499B92F7-0036-4B5C-AE09-BA6DE023EC76}"
diff --git a/build/_build.csproj b/build/_build.csproj
index cc2f933..c11f34d 100644
--- a/build/_build.csproj
+++ b/build/_build.csproj
@@ -2,7 +2,7 @@
Exe
- net9.0
+ net10.0
CS0649;CS0169;CA1050;CA1822;CA2211;IDE1006
..
@@ -12,6 +12,9 @@
+
+
+
diff --git a/global.json b/global.json
index 71bc343..9430b24 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "9.0",
+ "version": "10.0",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/samples/ProtectedNumbers.Samples/ProtectedNumbers.Samples.csproj b/samples/ProtectedNumbers.Samples/ProtectedNumbers.Samples.csproj
index cd51585..2d3f2f1 100644
--- a/samples/ProtectedNumbers.Samples/ProtectedNumbers.Samples.csproj
+++ b/samples/ProtectedNumbers.Samples/ProtectedNumbers.Samples.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net10.0
enable
enable
false
diff --git a/src/ProtectedNumbers/ProtectedNumbers.csproj b/src/ProtectedNumbers/ProtectedNumbers.csproj
index 5cb3499..2be91fe 100644
--- a/src/ProtectedNumbers/ProtectedNumbers.csproj
+++ b/src/ProtectedNumbers/ProtectedNumbers.csproj
@@ -1,7 +1,7 @@
- net6.0;net8.0;net9.0
+ net6.0;net8.0;net9.0;net10.0
enable
enable
true
diff --git a/tst/ProtectedNumbers.Tests/ProtectedNumbers.Tests.csproj b/tst/ProtectedNumbers.Tests/ProtectedNumbers.Tests.csproj
index 7394dbb..1d6dc65 100644
--- a/tst/ProtectedNumbers.Tests/ProtectedNumbers.Tests.csproj
+++ b/tst/ProtectedNumbers.Tests/ProtectedNumbers.Tests.csproj
@@ -1,7 +1,7 @@
- net6.0;net8.0;net9.0
+ net6.0;net8.0;net9.0;net10.0
latest
enable
enable