From 9c56b5e49a2395b1d42529f74809664a5795f6ea Mon Sep 17 00:00:00 2001 From: Daniel Plaisted Date: Thu, 7 Oct 2021 15:30:45 -0700 Subject: [PATCH] Don't flow self contained command-line option to referenced projects Fixes dotnet/sdk#21677 --- src/Tasks/Microsoft.Common.CurrentVersion.targets | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/Tasks/Microsoft.Common.CurrentVersion.targets b/src/Tasks/Microsoft.Common.CurrentVersion.targets index b73ae1e6d85..6555613f1b2 100644 --- a/src/Tasks/Microsoft.Common.CurrentVersion.targets +++ b/src/Tasks/Microsoft.Common.CurrentVersion.targets @@ -1,4 +1,4 @@ - %(AnnotatedProjects.UndefineProperties);RuntimeIdentifier + + + %(AnnotatedProjects.UndefineProperties);SelfContained