Skip to content

[tools] Disable Objective-C exception handling for macOS .NET apps due to a missing feature in the runtime. - #10123

Merged
rolfbjarne merged 2 commits into
dotnet:mainfrom
rolfbjarne:dotnet-macos-objc-exception-marshaling-disabled
Nov 23, 2020
Merged

rolfbjarne merged 2 commits into
dotnet:mainfrom
rolfbjarne:dotnet-macos-objc-exception-marshaling-disabled

Conversation

@rolfbjarne

Copy link
Copy Markdown
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 done
Comment thread tools/common/Target.cs Outdated
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@monojenkins

Copy link
Copy Markdown
Contributor

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/macios that referenced this pull request Mar 22, 2021
… apps due to a missing feature in the runtime. (dotnet#10123)"

This reverts commit 75979ca.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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