Skip to content

Commit

Permalink
Fixed binary serialization support in unit testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Nov 14, 2024
1 parent 67dceab commit d9057c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/CSharpCore/Tests.NetStandard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<TargetFrameworks Condition="'$(IsNet90Supported)' == 'true' ">$(TargetFrameworks);net9.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net471</TargetFrameworks>
<TestTfmsInParallel>false</TestTfmsInParallel>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="**\*.resx" />
Expand All @@ -44,9 +45,7 @@
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'!='net471'">
<PackageReference Include="System.Net.Sockets" Version="4.3.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="8.0.0-*" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="9.0.0-*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\SharpSnmpLib\SharpSnmpLib.csproj" />
Expand Down

0 comments on commit d9057c2

Please sign in to comment.