From 8a7a537e9a58784d9d4dae9e458067936dbac54d Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 30 Nov 2022 10:06:01 +0100 Subject: [PATCH] Disable APICompat assembly validation in source build The APICompat tooling was recently updated and the CoreLib projects and ApiCompat.proj depend on the new features. As source-build in main builds with a 7.0.100 toolchain instead of live built components, disable APICompat for now in source-build. --- eng/SourceBuild.props | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index c4c76b265e034c..548f313dc2b048 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -49,6 +49,8 @@ $(InnerBuildArgs) /p:EnableNgenOptimization=false $(InnerBuildArgs) /p:AdditionalRuntimeIdentifierParent=$(BaseOS) $(InnerBuildArgs) /p:EnablePackageValidation=false + + $(InnerBuildArgs) /p:ApiCompatValidateAssemblies=false $(InnerBuildArgs) /p:PrimaryRuntimeFlavor=Mono /p:RuntimeFlavor=Mono