[Mono-dev] mono mkbundle made file is Not working
Robert Jordan
robertj at gmx.net
Tue Nov 5 15:31:41 UTC 2013
On 03.11.2013 08:58, mobin.seven wrote:
> I tried to bundle my app with mkbundle command due to this help:
>
> http://www.mono-project.com/Guide:Running_Mono_Applications#Bundles
> <http://www.mono-project.com/Guide:Running_Mono_Applications#Bundles>
>
> but I don't understand this part of this doc:
> ""With -c, the further option --nomain will generate the host.c file without
> a main method so that you can embed it as a library in an existing native
> application in which you are embedding the Mono runtime yourself. Just call
> mono_mkbundle_init() before initializing the JIT to make the bundled
> assemblies available.""
This option is only useful if you want to link the bundle
with your own native application. Do you want this?
> I have bundled an exe with all of its deps in Ubuntu via 'mkbundle' and it
> works well there but when I move the bundle to lubuntu it won't work! when
> executes nothing happens!
> What should I do?
Mkbundle does not bundle native deps, e.g. GTK#, libgdiplus + its
myriad of deps. What kind of application are you trying to bundle?
GUI? Console?
Robert
More information about the Mono-devel-list
mailing list