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/NewLife.PC/NewLife.PC.csproj b/NewLife.PC/NewLife.PC.csproj index 106e1d7..bd47ebf 100644 --- a/NewLife.PC/NewLife.PC.csproj +++ b/NewLife.PC/NewLife.PC.csproj @@ -37,14 +37,14 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + 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..49c5844 100644 --- a/XUnitTest/XUnitTest.csproj +++ b/XUnitTest/XUnitTest.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 ..\Bin\UnitTest enable @@ -10,11 +10,11 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all