From 4db6ed0ec89f91e5de50d4c66a0562b300dba5cb Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 24 Nov 2025 15:27:55 +0800 Subject: [PATCH] project: upgrade to .NET 10 Signed-off-by: leo --- .github/workflows/build.yml | 2 +- .github/workflows/format-check.yml | 2 +- build/README.md | 2 +- global.json | 4 ++-- src/SourceGit.csproj | 10 +++++----- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 369a122a..d5487682 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Configure arm64 packages if: matrix.runtime == 'linux-arm64' run: | diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 5e75fb2a..59720f15 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -18,7 +18,7 @@ jobs: - name: Set up .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Run formatting check run: dotnet format --verify-no-changes diff --git a/build/README.md b/build/README.md index 17305edf..0698a8fb 100644 --- a/build/README.md +++ b/build/README.md @@ -5,7 +5,7 @@ ## How to build this project manually -1. Make sure [.NET SDK 9](https://dotnet.microsoft.com/en-us/download) is installed on your machine. +1. Make sure [.NET SDK 10](https://dotnet.microsoft.com/en-us/download) is installed on your machine. 2. Clone this project 3. Run the follow command under the project root dir ```sh diff --git a/global.json b/global.json index a27a2b82..32035c65 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { - "version": "9.0.0", + "version": "10.0.0", "rollForward": "latestMajor", "allowPrerelease": false } -} \ No newline at end of file +} diff --git a/src/SourceGit.csproj b/src/SourceGit.csproj index 9d417615..9cc5c3f7 100644 --- a/src/SourceGit.csproj +++ b/src/SourceGit.csproj @@ -1,7 +1,7 @@  WinExe - net9.0 + net10.0 App.manifest App.ico $([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)\\..\\VERSION")) @@ -24,6 +24,10 @@ link + + 13.0 + + $(DefineConstants);DISABLE_UPDATE_DETECTION @@ -61,8 +65,4 @@ - - - -