From f0cd39f43b1568d53c71cde3858f043a9829b103 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Tue, 10 May 2016 14:37:15 +0100 Subject: [PATCH] [Xamarin.Android.Build.Tasks] [msbuild] [XVS 4.0] VS hangs/freezes when opening solutions containing Android Bindings Libraries that reference other libraries, during `GetAdditionalResourcesFromAssemblies.Execute()` Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=40982 The Binding targets had the same issue as the normal Common targets for android projects. Commit d300845 added a new target to set $(DesignTimeBuild) to false if it was not set. This way when Visual studio does an intellisense build we do not attempt to download additional resources. This commit makes the same changes to the Bindings targets. --- .../Xamarin.Android.Bindings.targets | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Bindings.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Bindings.targets index f9680d7a4f8..9b74712c20f 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Bindings.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Bindings.targets @@ -118,6 +118,7 @@ Copyright (C) 2012 Xamarin Inc. All rights reserved. + _SetupDesignTimeBuildForBuild; AddLibraryJarsToBind; $(BuildDependsOn); BuildDocumentation; @@ -274,6 +275,12 @@ Copyright (C) 2012 Xamarin Inc. All rights reserved. + + + false + + +