From 5a22eeb0207297b845fcc55e0b11f1851af986c3 Mon Sep 17 00:00:00 2001 From: Scighost Date: Fri, 15 Nov 2024 14:58:42 +0800 Subject: [PATCH] update framework to dotnet 9 --- .github/workflows/build.yml | 2 +- .github/workflows/publish_dev.yml | 2 +- .github/workflows/publish_preview.yml | 2 +- global.json | 2 +- src/Starward.Core/Starward.Core.csproj | 2 +- .../Starward.Language.csproj | 2 +- src/Starward/Starward.csproj | 40 +++++++++---------- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 120f725db..d21551d2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: - name: Install .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x global-json-file: global.json - name: Setup MSBuild diff --git a/.github/workflows/publish_dev.yml b/.github/workflows/publish_dev.yml index 235902883..8ee51d2fd 100644 --- a/.github/workflows/publish_dev.yml +++ b/.github/workflows/publish_dev.yml @@ -43,7 +43,7 @@ jobs: - name: Install .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x global-json-file: global.json - name: Setup MSBuild diff --git a/.github/workflows/publish_preview.yml b/.github/workflows/publish_preview.yml index 80eec7393..c99b41712 100644 --- a/.github/workflows/publish_preview.yml +++ b/.github/workflows/publish_preview.yml @@ -40,7 +40,7 @@ jobs: - name: Install .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x global-json-file: global.json - name: Setup MSBuild diff --git a/global.json b/global.json index 686e09062..20f482a8e 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "8.0.402" + "version": "9.0.100" } } \ No newline at end of file diff --git a/src/Starward.Core/Starward.Core.csproj b/src/Starward.Core/Starward.Core.csproj index d7faf5446..3eb188a64 100644 --- a/src/Starward.Core/Starward.Core.csproj +++ b/src/Starward.Core/Starward.Core.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable diff --git a/src/Starward.Language/Starward.Language.csproj b/src/Starward.Language/Starward.Language.csproj index ebafe3f94..49aac1aa5 100644 --- a/src/Starward.Language/Starward.Language.csproj +++ b/src/Starward.Language/Starward.Language.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable diff --git a/src/Starward/Starward.csproj b/src/Starward/Starward.csproj index 31cfaf6c9..12e9a2138 100644 --- a/src/Starward/Starward.csproj +++ b/src/Starward/Starward.csproj @@ -1,7 +1,7 @@  WinExe - net8.0-windows10.0.22621.0 + net9.0-windows10.0.22621.0 10.0.17763.0 Starward enable @@ -23,31 +23,31 @@ - - + + - - - - - - - - - - - + + + + + + + + + + + - + - - - - - + + + + +