Skip to content

Commit 0c6df9d

Browse files
committed
target both .NET 8 and .NET 10
1 parent e7ef49a commit 0c6df9d

5 files changed

Lines changed: 76 additions & 75 deletions

File tree

src/ThingSet.Client/ThingSet.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>disable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Authors>Brill Power, Gareth Potter</Authors>
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>disable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<Authors>Brill Power, Gareth Potter</Authors>
8-
<Copyright>Copyright (c) Brill Power 2023-2025</Copyright>
9-
<ProjectUrl>https://github.com/Brill-Power/ThingSet.Net</ProjectUrl>
10-
<RepositoryUrl>https://github.com/Brill-Power/ThingSet.Net.git</RepositoryUrl>
11-
<RepositoryType>git</RepositoryType>
12-
<Description>CAN transport for .NET ThingSet client and server</Description>
13-
<PackageId>ThingSet.Common.Transports.Can</PackageId>
14-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
15-
<PackageReadmeFile>README.md</PackageReadmeFile>
16-
<PackageTags>iot</PackageTags>
17-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
5+
<ImplicitUsings>disable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<Authors>Brill Power, Gareth Potter</Authors>
8+
<Copyright>Copyright (c) Brill Power 2023-2025</Copyright>
9+
<ProjectUrl>https://github.com/Brill-Power/ThingSet.Net</ProjectUrl>
10+
<RepositoryUrl>https://github.com/Brill-Power/ThingSet.Net.git</RepositoryUrl>
11+
<RepositoryType>git</RepositoryType>
12+
<Description>CAN transport for .NET ThingSet client and server</Description>
13+
<PackageId>ThingSet.Common.Transports.Can</PackageId>
14+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
16+
<PackageTags>iot</PackageTags>
17+
</PropertyGroup>
1818

19-
<ItemGroup>
20-
<PackageReference Include="SocketCANSharp" Version="0.13.0" />
21-
</ItemGroup>
19+
<ItemGroup>
20+
<PackageReference Include="SocketCANSharp" Version="0.13.0" />
21+
</ItemGroup>
2222

23-
<ItemGroup>
24-
<ProjectReference Include="..\ThingSet.Common\ThingSet.Common.csproj" />
25-
</ItemGroup>
23+
<ItemGroup>
24+
<ProjectReference Include="..\ThingSet.Common\ThingSet.Common.csproj" />
25+
</ItemGroup>
2626

27-
<ItemGroup>
28-
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
29-
</ItemGroup>
27+
<ItemGroup>
28+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
29+
</ItemGroup>
3030

3131
</Project>
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<ItemGroup>
4-
<ProjectReference Include="..\ThingSet.Common\ThingSet.Common.csproj" />
5-
</ItemGroup>
3+
<ItemGroup>
4+
<ProjectReference Include="..\ThingSet.Common\ThingSet.Common.csproj" />
5+
</ItemGroup>
66

7-
<PropertyGroup>
8-
<TargetFramework>net8.0</TargetFramework>
9-
<ImplicitUsings>disable</ImplicitUsings>
10-
<Nullable>enable</Nullable>
11-
<Authors>Brill Power, Gareth Potter</Authors>
12-
<Copyright>Copyright (c) Brill Power 2023-2025</Copyright>
13-
<ProjectUrl>https://github.com/Brill-Power/ThingSet.Net</ProjectUrl>
14-
<RepositoryUrl>https://github.com/Brill-Power/ThingSet.Net.git</RepositoryUrl>
15-
<RepositoryType>git</RepositoryType>
16-
<Description>IP transport for .NET ThingSet client and server</Description>
17-
<PackageId>ThingSet.Common.Transports.Ip</PackageId>
18-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
19-
<PackageReadmeFile>README.md</PackageReadmeFile>
20-
<PackageTags>iot</PackageTags>
21-
</PropertyGroup>
7+
<PropertyGroup>
8+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
9+
<ImplicitUsings>disable</ImplicitUsings>
10+
<Nullable>enable</Nullable>
11+
<Authors>Brill Power, Gareth Potter</Authors>
12+
<Copyright>Copyright (c) Brill Power 2023-2025</Copyright>
13+
<ProjectUrl>https://github.com/Brill-Power/ThingSet.Net</ProjectUrl>
14+
<RepositoryUrl>https://github.com/Brill-Power/ThingSet.Net.git</RepositoryUrl>
15+
<RepositoryType>git</RepositoryType>
16+
<Description>IP transport for .NET ThingSet client and server</Description>
17+
<PackageId>ThingSet.Common.Transports.Ip</PackageId>
18+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
19+
<PackageReadmeFile>README.md</PackageReadmeFile>
20+
<PackageTags>iot</PackageTags>
21+
</PropertyGroup>
2222

23-
<ItemGroup>
24-
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
25-
</ItemGroup>
23+
<ItemGroup>
24+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
25+
</ItemGroup>
2626

27-
</Project>
27+
</Project>
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<ItemGroup>
4-
<ProjectReference Include="../ThingSet.Server.Common/ThingSet.Server.Common.csproj" />
5-
<ProjectReference Include="..\ThingSet.Common\ThingSet.Common.csproj" />
6-
</ItemGroup>
3+
<ItemGroup>
4+
<ProjectReference Include="../ThingSet.Server.Common/ThingSet.Server.Common.csproj" />
5+
<ProjectReference Include="..\ThingSet.Common\ThingSet.Common.csproj" />
6+
</ItemGroup>
77

8-
<PropertyGroup>
9-
<TargetFramework>net8.0</TargetFramework>
10-
<ImplicitUsings>disable</ImplicitUsings>
11-
<Nullable>enable</Nullable>
12-
<Authors>Brill Power, Gareth Potter</Authors>
13-
<Copyright>Copyright (c) Brill Power 2025</Copyright>
14-
<ProjectUrl>https://github.com/Brill-Power/ThingSet.Net</ProjectUrl>
15-
<RepositoryUrl>https://github.com/Brill-Power/ThingSet.Net.git</RepositoryUrl>
16-
<RepositoryType>git</RepositoryType>
17-
<Description>.NET ThingSet server</Description>
18-
<PackageId>ThingSet.Server</PackageId>
19-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
20-
<PackageReadmeFile>README.md</PackageReadmeFile>
21-
<PackageTags>iot</PackageTags>
22-
</PropertyGroup>
8+
<PropertyGroup>
9+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
10+
<ImplicitUsings>disable</ImplicitUsings>
11+
<Nullable>enable</Nullable>
12+
<Authors>Brill Power, Gareth Potter</Authors>
13+
<Copyright>Copyright (c) Brill Power 2025</Copyright>
14+
<ProjectUrl>https://github.com/Brill-Power/ThingSet.Net</ProjectUrl>
15+
<RepositoryUrl>https://github.com/Brill-Power/ThingSet.Net.git</RepositoryUrl>
16+
<RepositoryType>git</RepositoryType>
17+
<Description>.NET ThingSet server</Description>
18+
<PackageId>ThingSet.Server</PackageId>
19+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
20+
<PackageReadmeFile>README.md</PackageReadmeFile>
21+
<PackageTags>iot</PackageTags>
22+
</PropertyGroup>
2323

24-
<ItemGroup>
25-
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
26-
</ItemGroup>
24+
<ItemGroup>
25+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
26+
</ItemGroup>
2727

28-
<ItemGroup>
29-
<PackageReference Include="System.Formats.Cbor" Version="9.0.9" />
30-
</ItemGroup>
28+
<ItemGroup>
29+
<PackageReference Include="System.Formats.Cbor" Version="9.0.9" />
30+
</ItemGroup>
3131

32-
</Project>
32+
</Project>

test/ThingSet.Test/ThingSet.Test.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>disable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -20,7 +20,8 @@
2020
<ItemGroup>
2121
<ProjectReference Include="../../src/ThingSet.Client/ThingSet.Client.csproj" />
2222
<ProjectReference Include="../../src/ThingSet.Common/ThingSet.Common.csproj" />
23-
<ProjectReference Include="../../src/ThingSet.Common.Transports.Ip/ThingSet.Common.Transports.Ip.csproj" />
23+
<ProjectReference
24+
Include="../../src/ThingSet.Common.Transports.Ip/ThingSet.Common.Transports.Ip.csproj" />
2425
<ProjectReference Include="../../src/ThingSet.Server.Common/ThingSet.Server.Common.csproj" />
2526
<ProjectReference Include="../../src/ThingSet.Server/ThingSet.Server.csproj" />
2627
</ItemGroup>

0 commit comments

Comments
 (0)