I'm creating bindings for Xamarin.Mac / MonoMac. I'd like to embed the dylib in the generated dll like it's done on Xamarin.iOS with the [LinkWith] attribute.
Is it possible to do that ? if so how ? Or should I load the dylib from the consuming application ? again in this case, how ?
I tried:
- dropping the dylib in the Native References folder (doesn't work)
- adding a [assembly: MonoMac.RequiredFramework] attribute (doesn't find the dylib)