From fd1e3c36638d70190835a3d20eab54bc240cf2d8 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 765fba1e6119..42c2e8a5e84f 100644 --- a/dotnet/targets/Xamarin.Shared.Sdk.targets +++ b/dotnet/targets/Xamarin.Shared.Sdk.targets @@ -629,7 +629,12 @@ - +