From 5338e837f492191cfaaaa83aa15e3c8ef04d4ce8 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 17 Jul 2020 16:26:18 +0200 Subject: [PATCH] [msbuild] Default 'BundlerDebug' to 'true' if no other option is set and we're building for a 'Debug' configuration. It's somewhat of a breaking change, since previously Xamarin.Mac would default to 'false' if no value was set. It should be exceedingly rare though, since it's set in all the template projects. It makes the behavior a bit more intuitive for .NET projects, since then the values might not be set because of the simplified project files. --- msbuild/Xamarin.Shared/Xamarin.Shared.props | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/msbuild/Xamarin.Shared/Xamarin.Shared.props b/msbuild/Xamarin.Shared/Xamarin.Shared.props index a8be48e7b6dd..f5049cc8d61e 100644 --- a/msbuild/Xamarin.Shared/Xamarin.Shared.props +++ b/msbuild/Xamarin.Shared/Xamarin.Shared.props @@ -138,7 +138,9 @@ Copyright (C) 2020 Microsoft. All rights reserved. <_BundlerDebug Condition="'$(_PlatformName)' == 'macOS' And '$(_BundlerDebug)' == ''">$(DebugSymbols) <_BundlerDebug Condition="'$(_PlatformName)' != 'macOS'">$(MtouchDebug) - + + <_BundlerDebug Condition="'$(_BundlerDebug)' == '' And '$(Configuration)' == 'Debug'">true + <_BundlerDebug Condition="'$(_BundlerDebug)' == ''">false