From 87411b5506e6bd7938bb4ec06cdbbea6e441bb2f Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Fri, 22 Sep 2017 18:21:34 +0100 Subject: [PATCH] [Xamarin.Android.Build.Tasks] A few more instances of DesignTime errors (#889) We have a couple more Tasks which require the `ContinueOnError="$(DesignTimeBuild)"` attribute to avoid messing up the Visual Studio lanuage service. --- src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets index 769b8486974..f9ce3577de3 100755 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets @@ -404,6 +404,7 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved. CacheFile="$(_AndroidResourcePathsCache)" YieldDuringToolExecution="$(YieldDuringToolExecution)" DesignTimeBuild="$(DesignTimeBuild)" + ContinueOnError="$(DesignTimeBuild)" /> @@ -1293,6 +1294,7 @@ because xbuild doesn't support framework reference assemblies. AssemblyIdentityMapFile="$(_AndroidLibrayProjectAssemblyMapFile)" YieldDuringToolExecution="$(YieldDuringToolExecution)" ExplicitCrunch="$(AndroidExplicitCrunch)" + ContinueOnError="$(DesignTimeBuild)" /> @@ -1371,6 +1373,7 @@ because xbuild doesn't support framework reference assemblies. YieldDuringToolExecution="$(YieldDuringToolExecution)" ExplicitCrunch="$(AndroidExplicitCrunch)" SupportedAbis="$(_BuildTargetAbis)" + ContinueOnError="$(DesignTimeBuild)" />