Skip to content

Commit 901ad54

Browse files
committed
[#14] Add .NET 10 support across all projects and CI
Add net10.0 target framework to all libraries, tests, and examples. Update CI workflow to install .NET 10.0.x SDK. Also make tests and Event example multi-target (net8.0;net9.0;net10.0) for consistency.
1 parent 9356c92 commit 901ad54

22 files changed

Lines changed: 23 additions & 21 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
dotnet-version: |
9090
8.0.x
9191
9.0.x
92+
10.0.x
9293
9394
- name: Download all native libraries
9495
uses: actions/download-artifact@v4
@@ -143,6 +144,7 @@ jobs:
143144
# dotnet-version: |
144145
# 8.0.x
145146
# 9.0.x
147+
# 10.0.x
146148
#
147149
# - name: Download all native libraries
148150
# uses: actions/download-artifact@v4

examples/ArrayOfStructs/ArrayOfStructs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<ImplicitUsings>enable</ImplicitUsings>

examples/AsyncPubSub/AsyncPubSub.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
8+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<!-- Copy native library from Iceoryx2 output directory -->

examples/Blackboard/Blackboard.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<Nullable>enable</Nullable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
7+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
88
</PropertyGroup>
99

1010
<!-- Copy native library from Iceoryx2 output directory -->

examples/ComplexDataTypes/ComplexDataTypes.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
8+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<!-- Copy native library from Iceoryx2 output directory -->

examples/Event/Event.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
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
</PropertyGroup>

examples/Logging/Logging.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<Nullable>enable</Nullable>
66
<LangVersion>latest</LangVersion>
7-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
7+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
88
</PropertyGroup>
99

1010
<ItemGroup>

examples/LoggingIntegration/LoggingIntegration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
</PropertyGroup>

examples/ObservableWaitSet/ObservableWaitSet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
66
<Nullable>enable</Nullable>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<ImplicitUsings>enable</ImplicitUsings>

examples/PublishSubscribe/PublishSubscribe.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<Nullable>enable</Nullable>
66
<LangVersion>latest</LangVersion>
7-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
7+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
88
</PropertyGroup>
99

1010
<!-- Copy native library from Iceoryx2 output directory -->

0 commit comments

Comments
 (0)