Remove EnableUnsafeBinaryFormatterSerialization property (#20467)
This commit is contained in:
committed by
GitHub
parent
eb80c729d9
commit
942f23274f
@@ -7,8 +7,6 @@
|
|||||||
<NoWarn>$(NoWarn);CS0649;CA1847</NoWarn>
|
<NoWarn>$(NoWarn);CS0649;CA1847</NoWarn>
|
||||||
<NukeTelemetryVersion>1</NukeTelemetryVersion>
|
<NukeTelemetryVersion>1</NukeTelemetryVersion>
|
||||||
<TargetFramework>$(AvsCurrentTargetFramework)</TargetFramework>
|
<TargetFramework>$(AvsCurrentTargetFramework)</TargetFramework>
|
||||||
<!-- See https://github.com/nuke-build/nuke/issues/818 -->
|
|
||||||
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
<TargetFrameworks>$(AvsCurrentTargetFramework);$(AvsLegacyTargetFrameworks)</TargetFrameworks>
|
<TargetFrameworks>$(AvsCurrentTargetFramework);$(AvsLegacyTargetFrameworks)</TargetFrameworks>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<EnableRuntimeMarshalling>true</EnableRuntimeMarshalling>
|
<EnableRuntimeMarshalling>true</EnableRuntimeMarshalling>
|
||||||
<!-- We still keep BinaryFormatter for WinForms compatibility. -->
|
|
||||||
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
|
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
|
||||||
<PackageReference Include="System.Numerics.Vectors" Version="4.6.1" />
|
<PackageReference Include="System.Numerics.Vectors" Version="4.6.1" />
|
||||||
|
|||||||
Reference in New Issue
Block a user