Skip to content

Commit

Permalink
Clear force EnableUnsafeBinaryFormatterSerialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Mar 12, 2024
1 parent 0d6b5e9 commit 843de1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>.</NukeRootDirectory>
Expand Down
1 change: 1 addition & 0 deletions ricaun.Nuke/Components/IClean.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public interface IClean : IHazSolution, INukeBuild
Target Clean => _ => _
.Executes(() =>
{
System.AppContext.SetSwitch("System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization", true);
Solution.ClearSolution(BuildProjectDirectory);
});
}
Expand Down
2 changes: 1 addition & 1 deletion ricaun.Nuke/ricaun.Nuke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<PropertyGroup>
<PackageId>ricaun.Nuke</PackageId>
<Version>1.8.0-alpha</Version>
<Version>1.8.0-alpha.1</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 843de1d

Please sign in to comment.