From 0f7d405b2298906e0e0db0198fb7ba77493f015c Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 18 Jan 2019 16:23:20 -0600 Subject: [PATCH] [tests] CreateApkBuilder can run Build,SignAndroidPackage Hoping this cuts down the 248 test failures... --- .../Tests/Xamarin.Android.Build.Tests/Utilities/BuildHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BuildHelper.cs b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BuildHelper.cs index 566609c7387..5a9db96d628 100644 --- a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BuildHelper.cs +++ b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BuildHelper.cs @@ -14,7 +14,8 @@ public static class BuildHelper public static ProjectBuilder CreateApkBuilder (string directory, bool cleanupAfterSuccessfulBuild = false, bool cleanupOnDispose = true) { var ret = CreateDllBuilder (directory, cleanupAfterSuccessfulBuild, cleanupOnDispose); - ret.Target = "SignAndroidPackage"; + //NOTE: since $(BuildingInsideVisualStudio) is set, Build will not happen by default + ret.Target = "Build,SignAndroidPackage"; return ret; }