Do my end user needs to dowload/install MONO for using my Xamarin.Mac desktop app?
Or does Visual Studio MAC bundles MONO inside the .app?
No, assuming you are using Xamarin.Mac Unified (Xamarin.Mac.dll) (which any new project should be) we bundle mono for you in the final application bundle.
If you open your final bundle, you can find the Assemblies inside a MonoBundle folder and if you nm the native executable you'll see mono symbols we link in.
1.So, in my application binary, which is inside /MacOS folder, is where .Net VM in bundled? (it is because it has 6 MB)
2.My application uses libfreetype, and I know that MONO installer does install it, but I am not sure if bare OSX comes with it... any guess?
bin/Debug/XMScratch.app/Contents/MacOS/XMScratch | grep mono
[DllImport("freetype6", CallingConvention = CallConvention)]
gonna do some tests in the meantime..
Think I am wrong, APPNAME.dSYM are the debug symbols for Debug builds.
Native references .dylib files are simply copied to /MonoBundle.
Native references can be any of the following:
If you use one of the last two, you can use the library name in your p/invoke. If you use a static library you'll need "__Internal" instead, since it'll be linked into your launcher application.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies