From 397f90a2dd85a9fde265b0806f46961eaef9299c Mon Sep 17 00:00:00 2001 From: Jonathan Dick Date: Wed, 14 Apr 2021 16:32:37 -0400 Subject: [PATCH] Workaround for .NET6P3 maccatalyst/ios debug on macos (#742) There was a change in P3 to stop setting this environment variable in maccatalyst and ios which is causing the debugger to hang while connecting on macOS. This is a temporary fix to bring back the env variable until the issue is addressed. https://github.com/dotnet/runtime/issues/50966 --- eng/Microsoft.Extensions.targets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/Microsoft.Extensions.targets b/eng/Microsoft.Extensions.targets index 2c0dc4cd2d..2dc3d91df3 100644 --- a/eng/Microsoft.Extensions.targets +++ b/eng/Microsoft.Extensions.targets @@ -10,6 +10,10 @@ <_MicrosoftProjectReunionVersion>0.5.0 + + + $(MtouchExtraArgs) --setenv:MONO_THREADS_SUSPEND=preemptive +