Skip to content

Commit 5e09ec9

Browse files
author
Rafal Maciag
committed
nuget updates
1 parent 69fb758 commit 5e09ec9

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

nng.NET.Shared/AssemblyLoadContext.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ protected override Assembly Load(AssemblyName assemblyName)
5656
#elif NET5_0
5757
"net5.0"
5858
#elif NET6_0
59-
"net6.0"
59+
"net6.0"
60+
#elif NET9_0
61+
"net9.0"
6062
#else
6163
#error "Unsupported framework?"
6264
#endif

nng.NET.Shared/nng.NET.Shared.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<!-- To enable code coverage -->
77
<DebugType>full</DebugType>
8-
<TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
8+
<TargetFrameworks>net9.0;</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<PropertyGroup>

nng.NET/nng.NET.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Assemblies for targetted frameworks are in runtimes/ instead of lib/ or ref/
1111
See: https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu5128#scenario-2
1212
-->
13-
<TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
13+
<TargetFrameworks>net9.0;</TargetFrameworks>
1414
</PropertyGroup>
1515

1616
<ItemGroup>
@@ -19,6 +19,18 @@
1919
</ProjectReference>
2020
</ItemGroup>
2121

22+
<ItemGroup>
23+
<None Update="runtimes\linux-arm64\native\libnng.so">
24+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
25+
</None>
26+
<None Update="runtimes\linux-x64\native\libnng.so">
27+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
28+
</None>
29+
<None Update="runtimes\win-x64\native\nng.dll">
30+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
31+
</None>
32+
</ItemGroup>
33+
2234
<!-- Must be run after build so output assembly is in runtimes/ -->
2335
<Target Name="Runtimes" AfterTargets="Build">
2436
<ItemGroup>

0 commit comments

Comments
 (0)