Skip to content

Commit 301cdfa

Browse files
committed
Allow BinaryFormatter serialization in tests (used by Cloner)
1 parent 0afd9d0 commit 301cdfa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Orm/Xtensive.Orm.Tests/Xtensive.Orm.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<AssemblyOriginatorKeyFile>$(OrmKeyFile)</AssemblyOriginatorKeyFile>
1111
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1212
<WarningLevel>2</WarningLevel>
13+
<EnableUnsafeBinaryFormatterSerialization Condition="'$(TargetFramework)'=='net8.0'">true</EnableUnsafeBinaryFormatterSerialization>
1314
</PropertyGroup>
1415
<Import Project="$(SolutionDir)MSBuild\DataObjects.Net.InternalBuild.targets" />
1516
<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">

0 commit comments

Comments
 (0)