From 13e698a6e92f6384f2de447eae65fb1d0bcad2ec Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Thu, 11 Jan 2018 15:42:59 +0000 Subject: [PATCH] ff --- .../Tests/Xamarin.Android.Build.Tests/PackagingTest.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/PackagingTest.cs b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/PackagingTest.cs index 1d3f3d5f425..2f9cefee558 100644 --- a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/PackagingTest.cs +++ b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/PackagingTest.cs @@ -404,12 +404,12 @@ protected override void OnResume() using (var builder = CreateDllBuilder (Path.Combine (path, netStandardProject.ProjectName), cleanupOnDispose: false)) { if (!Directory.Exists (builder.MicrosoftNetSdkDirectory)) Assert.Ignore ("Microsoft.NET.Sdk not found."); - builder.RequiresMSBuild = true; - builder.Target = "Restore"; - Assert.IsTrue (builder.Build (netStandardProject), "XamFormsSample Nuget packages should have been restored."); - builder.Target = "Build"; - Assert.IsTrue (builder.Build (netStandardProject), "XamFormsSample should have built."); using (var ab = CreateApkBuilder (Path.Combine (path, app.ProjectName), cleanupOnDispose: false)) { + builder.RequiresMSBuild = true; + builder.Target = "Restore"; + Assert.IsTrue (builder.Build (netStandardProject), "XamFormsSample Nuget packages should have been restored."); + builder.Target = "Build"; + Assert.IsTrue (builder.Build (netStandardProject), "XamFormsSample should have built."); ab.RequiresMSBuild = true; ab.Target = "Restore"; Assert.IsTrue (ab.Build (app), "App should have built.");