Skip to content
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

Conversation

rolfbjarne
Copy link
Member

We need support for dllmaps, and that isn't working on macOS yet.

…e to a missing feature in the runtime.

We need support for dllmaps, and that isn't working on macOS yet.
@rolfbjarne rolfbjarne requested a review from spouliot as a code owner November 20, 2020 13:53
@rolfbjarne rolfbjarne added not-notes-worthy Ignore for release notes run-dotnet-tests Run all the .NET tests labels Nov 20, 2020
@rolfbjarne rolfbjarne mentioned this pull request Nov 20, 2020
61 tasks
@@ -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 */);
Copy link
Contributor

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 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦

@spouliot spouliot self-requested a review November 20, 2020 14:03
@monojenkins
Copy link
Collaborator

@monojenkins
Copy link
Collaborator

Build success
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@rolfbjarne rolfbjarne merged commit 75979ca into dotnet:main Nov 23, 2020
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Mar 22, 2021
… apps due to a missing feature in the runtime. (dotnet#10123)"

This reverts commit 75979ca.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
not-notes-worthy Ignore for release notes run-dotnet-tests Run all the .NET tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants