-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ObjCRuntime] Add assembly registration event. #1933
[ObjCRuntime] Add assembly registration event. #1933
Conversation
Add an assembly registration event, that allows apps to opt out of Xamarin.Mac's default behavior to recursively load every assembly referenced by the entry assembly. This is only for Xamarin.Mac, since it does not make sense to have this API in Xamarin.iOS because assemblies are statically registered at build time.
@slluis Would this approach work for Xamarin Studio? This is what you'd have to do: https://github.com/xamarin/xamarin-macios/pull/1933/files#diff-cb285180a7660d946e80e2f91effbc1aR10 |
Yes, that would work. Thanks! |
Build failure |
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.
Let's make sure this gets documented.
@chamons and also in the release notes
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 |
Release notes - https://github.com/xamarin/xamarin-macios/wiki/xamarin.mac_3.3#assembly-registration-event I'll clean up the wording when we get closer, but that should be the gist of it. |
Build success |
Add an assembly registration event, that allows apps to opt out of
Xamarin.Mac's default behavior to recursively load every assembly referenced
by the entry assembly.
This is only for Xamarin.Mac, since it does not make sense to have this API in
Xamarin.iOS because assemblies are statically registered at build time.