-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[tools] Disable Objective-C exception handling for macOS .NET apps due to a missing feature in the runtime. #10123
[tools] Disable Objective-C exception handling for macOS .NET apps due to a missing feature in the runtime. #10123
Conversation
…e to a missing feature in the runtime. We need support for dllmaps, and that isn't working on macOS yet.
tools/common/Target.cs
Outdated
@@ -572,7 +572,7 @@ void GenerateMacMain (StringWriter sw) | |||
} | |||
if (!App.IsDefaultMarshalManagedExceptionMode) | |||
sw.WriteLine ("\txamarin_marshal_managed_exception_mode = MarshalManagedExceptionMode{0};", App.MarshalManagedExceptions); | |||
sw.WriteLine ("\txamarin_marshal_objectivec_exception_mode = MarshalObjectiveCExceptionMode{0};", App.MarshalObjectiveCExceptions); | |||
sw.WriteLine ("\txamarin_marshal_objectivec_exception_mode = MarshalObjectiveCExceptionMode{0};", "Disable" /* https://github.com/dotnet/runtime/issues/43204 App.MarshalObjectiveCExceptions */); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that code limited to net6 nugets ?
or is it used by XM packages ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦
Build failure ✅ Provisioning succeeded |
Build success |
… apps due to a missing feature in the runtime. (dotnet#10123)" This reverts commit 75979ca.
We need support for dllmaps, and that isn't working on macOS yet.