From 3c85f4ab24c0472245373930a82af8f12c43b581 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 26 Apr 2023 07:32:20 +0200 Subject: [PATCH] [dotnet] Add a missing IsMacEnabled check before executing a task in the _ComputeLinkerArguments target. This fixes an issue where the build would fail on Windows if the Windows machine wasn't connected to a remote Mac. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1808448. --- dotnet/targets/Xamarin.Shared.Sdk.targets | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dotnet/targets/Xamarin.Shared.Sdk.targets b/dotnet/targets/Xamarin.Shared.Sdk.targets index a5308f64529a..545fbb55af7f 100644 --- a/dotnet/targets/Xamarin.Shared.Sdk.targets +++ b/dotnet/targets/Xamarin.Shared.Sdk.targets @@ -634,7 +634,12 @@ - +