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