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

Emit a better error message when loading the wrappers fails #3013

Open
nirinchev opened this issue Aug 29, 2022 · 1 comment
Open

Emit a better error message when loading the wrappers fails #3013

nirinchev opened this issue Aug 29, 2022 · 1 comment

Comments

@nirinchev
Copy link
Member

If you have a multiproject solution and don't add Realm to the executable project, wrappers will fail to load with a System.DllNotFoundException. We should try and see if we can detect that and emit a more informative error message.

To repro, create a XF project and only add Realm to the shared project.

@nirinchev
Copy link
Member Author

Another option proposed by @fealebenpae is to make the wrapper targets buildTransitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant