diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index a20c3f7..760ff90 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore run: | dotnet restore NewLife.PC/NewLife.PC.csproj diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b0aada8..b17c306 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore run: | dotnet restore NewLife.PC/NewLife.PC.csproj diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5319e58..60bc733 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Build run: dotnet build -c Release - name: Test diff --git a/Readme.MD b/Readme.MD index f049191..9cf7295 100644 --- a/Readme.MD +++ b/Readme.MD @@ -13,7 +13,7 @@ Nuget:NewLife.PC ## 新生命项目矩阵 -各项目默认支持net7.0/netstandard2.1/netstandard2.0/net4.61,旧版(2022.1225)支持net4.5/net4.0/net2.0 +各项目默认支持net8.0/net7.0/netstandard2.1/netstandard2.0/net4.61,旧版(2022.1225)支持net4.5/net4.0/net2.0 | 项目 | 年份 | 说明 | | :--------------------------------------------------------------: | :---: | -------------------------------------------------------------------------------------- | diff --git a/Test/Test.csproj b/Test/Test.csproj index 39af6a9..edcdc4c 100644 --- a/Test/Test.csproj +++ b/Test/Test.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 ..\Bin\Test false enable diff --git a/XUnitTest/XUnitTest.csproj b/XUnitTest/XUnitTest.csproj index 095008e..a754859 100644 --- a/XUnitTest/XUnitTest.csproj +++ b/XUnitTest/XUnitTest.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 ..\Bin\UnitTest enable