From 63d9e42766bde22124972d2789fc6ee247bbf0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=87=AA=E9=BE=99?= Date: Fri, 24 Nov 2023 14:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7.net8.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-beta.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- NewLife.ModbusRTU/NewLife.ModbusRTU.csproj | 2 +- Readme.MD | 2 +- Test/Test.csproj | 2 +- WinModbus/WinModbus.csproj | 2 +- XUnitTest/XUnitTest.csproj | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index 1dc4666..194e97c 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -20,7 +20,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.Modbus/NewLife.Modbus.csproj diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2e71f7a..5dbc073 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.Modbus/NewLife.Modbus.csproj diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1e31e2..284c05d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,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 diff --git a/NewLife.ModbusRTU/NewLife.ModbusRTU.csproj b/NewLife.ModbusRTU/NewLife.ModbusRTU.csproj index cd1deb2..25cc6fb 100644 --- a/NewLife.ModbusRTU/NewLife.ModbusRTU.csproj +++ b/NewLife.ModbusRTU/NewLife.ModbusRTU.csproj @@ -1,6 +1,6 @@  - netstandard2.1;netstandard2.0;net45;net461;net6.0;net7.0 + netstandard2.1;netstandard2.0;net45;net461;net6.0;net7.0;net8.0 NewLife.Serial ModbusRTU协议 串口ModbusRTU协议 diff --git a/Readme.MD b/Readme.MD index a82ec66..220e73b 100644 --- a/Readme.MD +++ b/Readme.MD @@ -17,7 +17,7 @@ Nuget:NewLife.Modbus / NewLife.ModbusRT ## 新生命项目矩阵 -各项目默认支持net7.0/netstandard2.1/netstandard2.0/net4.61/net4.5,旧版(2023.0401)支持net4.0/net2.0 +各项目默认支持net8.0/net7.0/netstandard2.1/netstandard2.0/net4.61/net4.5,旧版(2023.0401)支持net4.0/net2.0 | 项目 | 年份 | 说明 | | :--------------------------------------------------------------: | :---: | -------------------------------------------------------------------------------------- | diff --git a/Test/Test.csproj b/Test/Test.csproj index 1b76d67..cf353e7 100644 --- a/Test/Test.csproj +++ b/Test/Test.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 新生命开发团队 ©2002-2022 NewLife 1.0 diff --git a/WinModbus/WinModbus.csproj b/WinModbus/WinModbus.csproj index 337f40a..02a3516 100644 --- a/WinModbus/WinModbus.csproj +++ b/WinModbus/WinModbus.csproj @@ -2,7 +2,7 @@ WinExe - net7.0-windows + net8.0-windows 新生命开发团队 ©2002-2023 NewLife 1.0 diff --git a/XUnitTest/XUnitTest.csproj b/XUnitTest/XUnitTest.csproj index 9ca66bc..77f6015 100644 --- a/XUnitTest/XUnitTest.csproj +++ b/XUnitTest/XUnitTest.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 ..\Bin\UnitTest false