From 14d20074ffb298cc396916328897eac7f5f8c077 Mon Sep 17 00:00:00 2001 From: Katelyn Gadd Date: Wed, 8 Aug 2018 17:52:37 -0700 Subject: Move to generating msbuild choose elements to get if-else selection behavior for sources in projects so that we don't get erroneous duplicate files in cases where there are both profile and host platform criteria (#9952) A recent commit revealed that in cases where we select based on a mix of host platform and profile, genproj csproj files can end up with duplicate sources because the existing elements, which give if-else selection to ensure that we only ever build a single set of files. --- .../System.Web.WebPages.Deployment.csproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mcs/class/System.Web.WebPages.Deployment') diff --git a/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.csproj b/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.csproj index 3ffd618aa04..2e4eb529b1b 100644 --- a/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.csproj +++ b/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.csproj @@ -45,6 +45,7 @@ + @@ -64,15 +65,16 @@ + genconsts {702AE2C0-71DD-4112-9A06-E4FABCA59986} false Never - False + false - + -- cgit v1.2.3