Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 44450 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
Created attachment 17559 [details]
Workbook that fails.
I am able to use UrhoSharp via Nuget in Xamarin.iOS from XS, but a workbook fails with the message: "DllNotFoundException: @rpath/Urho.framework/Urho"
The Urho I get from Nuget is UrhoSharp.1.1.125
I've attached the workbook. The failure occurs at the last line, when I attempt to instantiate (but not yet run) my subclass of Urho.Application. The Workbook exception I see is:
TargetInvocationException: Exception has been thrown by the target of an invocation.
at object System.Reflection.MonoCMethod.InternalInvoke (object obj, object parameters)
at object System.Reflection.MonoCMethod.DoInvoke (object obj, BindingFlags invokeAttr, Binder binder, object parameters, CultureInfo culture)
at object System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, Binder binder, object parameters, CultureInfo culture)
Created attachment 17560 [details]
screenshot showing exception
Yeah. Native libraries in NuGets aren't currently supported (see the bottom of release notes such as https://developer.xamarin.com/releases/inspector/preview/inspector-0.10.0/).
https://github.com/xamarin/Workbooks/tree/master/wpf/PlanetEarth is an Urho workbook that "cheats" by bundling the libraries it needs.
On Mac, you might need to call OpenDynamicLibrary("relative/native/lib/path") in your workbook before #r referencing Urho.dll.