From 7f17e5efedd49b55995b1e3fdb24d902b416ad55 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 13 Nov 2024 08:39:24 +0800 Subject: [PATCH 1/4] update to 9.0 --- .github/workflows/default.yml | 3 +-- .github/workflows/dotnet-format.yml | 4 +--- .github/workflows/release.yml | 2 +- Directory.Build.props | 5 +++-- .../WeihanLi.EntityFramework.Sample.csproj | 1 - src/WeihanLi.EntityFramework/WeihanLi.EntityFramework.csproj | 1 - .../WeihanLi.EntityFramework.Test.csproj | 3 +-- 7 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 90cac18..7da0570 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -12,8 +12,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 8.0.x + dotnet-version: 9.0.x - name: dotnet info run: dotnet --info - name: build diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index ad6d5ca..fcc9930 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -10,9 +10,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 8.0.x - include-prerelease: true + dotnet-version: 9.0.x - name: build run: dotnet build - name: format diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e512fb..f86d080 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Build shell: pwsh run: .\build.ps1 --stable=true diff --git a/Directory.Build.props b/Directory.Build.props index 367003f..27a416b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,11 +3,12 @@ - latest + net9.0 + preview enable enable 1.0.71 - 8.0.11 + 9.0.0 true true diff --git a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj index e6d10d4..0ae9ad7 100644 --- a/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj +++ b/samples/WeihanLi.EntityFramework.Sample/WeihanLi.EntityFramework.Sample.csproj @@ -2,7 +2,6 @@ Exe - net8.0 diff --git a/src/WeihanLi.EntityFramework/WeihanLi.EntityFramework.csproj b/src/WeihanLi.EntityFramework/WeihanLi.EntityFramework.csproj index 3a8140c..1e95a93 100644 --- a/src/WeihanLi.EntityFramework/WeihanLi.EntityFramework.csproj +++ b/src/WeihanLi.EntityFramework/WeihanLi.EntityFramework.csproj @@ -1,6 +1,5 @@  - net8.0 WeihanLi.EntityFramework WeihanLi.EntityFramework https://avatars3.githubusercontent.com/u/7604648 diff --git a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj index 92f24c7..0a44343 100644 --- a/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj +++ b/test/WeihanLi.EntityFramework.Test/WeihanLi.EntityFramework.Test.csproj @@ -1,7 +1,6 @@ - - net8.0 + true false disable From 3938571429857d1b41019158740dda99788cd32e Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 13 Nov 2024 08:40:17 +0800 Subject: [PATCH 2/4] fix azure devops dotnet sdk to 9.0 --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9ee0679..f7edf08 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ steps: displayName: 'Use .NET sdk' inputs: packageType: sdk - version: 8.0.x + version: 9.0.x includePreviewVersions: true - script: dotnet --info From a269aedb33cdfb9eb19238c1f24d3a8f8157a418 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Thu, 14 Nov 2024 02:57:34 +0800 Subject: [PATCH 3/4] upgrade common --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 27a416b..3a186eb 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,7 +7,7 @@ preview enable enable - 1.0.71 + 1.0.72 9.0.0 true From e01d6cece05f1ed5d964b3aa50387d01bd37988d Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Thu, 14 Nov 2024 02:59:44 +0800 Subject: [PATCH 4/4] update version to 9.0 --- build/version.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/version.props b/build/version.props index 3e01eae..ed02860 100644 --- a/build/version.props +++ b/build/version.props @@ -1,8 +1,8 @@ - 8 + 9 0 - 11 + 0 0 $(VersionMajor).$(VersionMinor).$(VersionPatch) $(VersionMajor).$(VersionMinor).$(VersionPatch).$(VersionRevision)