From 6c731f9361698cbdc5d3a003bbff4506873b1696 Mon Sep 17 00:00:00 2001 From: Matthias Koch Date: Wed, 15 Nov 2023 22:26:14 +0100 Subject: [PATCH] fix: BinaryFormatterSerialization warning --- source/Directory.Build.props | 3 ++- source/Nuke.Common/Nuke.Common.props | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Directory.Build.props b/source/Directory.Build.props index 68f878cb8..11a271277 100644 --- a/source/Directory.Build.props +++ b/source/Directory.Build.props @@ -3,11 +3,12 @@ preview true - CS1591;NU5129;NU5118 + CS1591;NU5129;NU5118;SYSLIB0050;SYSLIB0051 $(DefineConstants);JETBRAINS_ANNOTATIONS embedded true true + true diff --git a/source/Nuke.Common/Nuke.Common.props b/source/Nuke.Common/Nuke.Common.props index d41fceeda..9827b4735 100644 --- a/source/Nuke.Common/Nuke.Common.props +++ b/source/Nuke.Common/Nuke.Common.props @@ -4,6 +4,8 @@ false $(MSBuildWarningsAsErrors);CS8785 + $(NoWarn);SYSLIB0050;SYSLIB0051 + true