Skip to content

Commit

Permalink
升级net9
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Nov 17, 2024
1 parent 7d65a1e commit ff62301
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Samples/BuzzerTest/BuzzerTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.IoT" Version="2.2.2024.706" />
<PackageReference Include="NewLife.IoT" Version="2.3.2024.1117" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Samples/DatabaseTest/DatabaseTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewLife.XCode" Version="11.15.2024.902" />
<PackageReference Include="NewLife.XCode" Version="11.16.2024.1114" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Samples/KeyTest/KeyTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.IoT" Version="2.2.2024.706" />
<PackageReference Include="NewLife.IoT" Version="2.3.2024.1117" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Samples/LedTest/LedTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.IoT" Version="2.2.2024.706" />
<PackageReference Include="NewLife.IoT" Version="2.3.2024.1117" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Samples/NetClientTest/NetClientTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewLife.Core" Version="10.10.2024.902" />
<PackageReference Include="NewLife.Core" Version="11.0.2024.1115" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Samples/NetClientTest/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using NewLife;
using NewLife.Data;
using NewLife.Log;
using NewLife.Net;

Expand Down
2 changes: 1 addition & 1 deletion Samples/NetServerTest/NetServerTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewLife.Core" Version="10.10.2024.902" />
<PackageReference Include="NewLife.Core" Version="11.0.2024.1115" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion Samples/NetServerTest/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using NewLife.Log;
using NewLife.Data;
using NewLife.Log;
using NewLife.Net;

// 网络服务端,一般跑在服务器或上位机上,用于接收工控机内客户端的数据
Expand Down
3 changes: 2 additions & 1 deletion Samples/Serial2NetClientTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ static void OnReceiveSocket(Object sender, ReceivedEventArgs e)
{
// 接收到服务器数据,转发到串口
var pk = e.Packet;
_serial.Write(pk.Data, pk.Offset, pk.Count);
var buf = pk.ReadBytes();
_serial.Write(buf, 0, buf.Length);
}
}
2 changes: 1 addition & 1 deletion Samples/Serial2NetClientTest/Serial2NetClientTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewLife.Core" Version="10.10.2024.902" />
<PackageReference Include="NewLife.Core" Version="11.0.2024.1115" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion Samples/Serial2NetServerTest/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using NewLife.Log;
using NewLife.Data;
using NewLife.Log;
using NewLife.Net;

// 网络服务端,接收客户端数据
Expand Down
2 changes: 1 addition & 1 deletion Samples/Serial2NetServerTest/Serial2NetServerTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewLife.Core" Version="10.10.2024.902" />
<PackageReference Include="NewLife.Core" Version="11.0.2024.1115" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Samples/SerialTest/SerialTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NewLife.Core" Version="10.10.2024.902" />
<PackageReference Include="NewLife.IoT" Version="2.2.2024.706" />
<PackageReference Include="NewLife.Core" Version="11.0.2024.1115" />
<PackageReference Include="NewLife.IoT" Version="2.3.2024.1117" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Samples/UsbPowerTest/UsbPowerTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.IoT" Version="2.2.2024.706" />
<PackageReference Include="NewLife.IoT" Version="2.3.2024.1117" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions SmartA2/SmartA2.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
<AssemblyTitle>A2工业计算机驱动</AssemblyTitle>
<Description>IoT驱动,符合IoT标准库的PC驱动,采集CPU、内存、网络等数据,提供语音播报和重启等服务。</Description>
<Company>新生命开发团队</Company>
Expand Down Expand Up @@ -49,7 +49,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.IoT" Version="2.2.2024.706" />
<PackageReference Include="NewLife.IoT" Version="2.3.2024.1117" />
<PackageReference Include="NewLife.ModbusRTU" Version="1.8.2024.217" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion XUnitTest/XUnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NewLife.UnitTest" Version="1.0.2023.1204" />
<PackageReference Include="NewLife.UnitTest" Version="1.0.2024.1006" />
<PackageReference Include="System.Speech" Version="8.0.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
Expand Down

0 comments on commit ff62301

Please sign in to comment.