[Mono-dev] Which mono libraries should be packed along with the mac app ?

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Thu Feb 4 12:02:45 UTC 2016


> From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-
> bounces at lists.ximian.com] On Behalf Of Rajesh Khan
> 
> 1- The first issue is that in my code I am doing this at the start
> 
>  mono_set_dirs("/opt/mono/lib", "/opt/mono/etc");
> 
> 2- Which libraries should be packed along with my .app ?

I don't know what mono_set_dirs is, or why you would need to use it. If you've installed the MDK in the normal way, and you're building and running your app in the normal way, you shouldn't need to do anything.

The mono class libraries are MIT licensed, so if you need to distribute those with your app, should be easy for you to comply. The mono runtime is GPL, so unless your app is GPL, you'll have a license conflict trying to distribute mono with your app legally.

If you pay for Xamarin.Mac, you are licensed to bundle the mono runtime with your non-GPL app. In fact, when you build your app, Xamarin by default bundles it automatically for you into the .app.


More information about the Mono-devel-list mailing list