[Mono-dev] mkbundle / location of mono-files

Robert Jordan robertj at gmx.net
Thu Sep 6 13:22:34 EDT 2007


Elmar Haneke wrote:
> 
> Robert Jordan schrieb:
>> Elmar Haneke wrote:
>>> Robert Jordan schrieb:
>>>> Elmar Haneke wrote:
>>>>> How can I tell an mkbundle EXE (on Windows) where to find the mono
>>>>> runtime files.
>>>> What do you mean with runtime files? Assemblies, native DLLs,
>>>> configuration?
>>> It fails with message
>>>
>>> The assembly mscorlib.dll was not found or could not be loaded.
>>> It should have been installed in the `E:\lib\mono\1.0\mscorlib.dll'
>>> directory.
>>>
>>> Mono is in c:\mono, c:\mono\bin is in path.
>> Did you turn dependency embedding on? See the "--deps" switch in the
>> man page. Which Mono version is this?
> 
> It's version 1.2.5.
> 
> Adding --deps does resolve the problem with an significant increase of
> EXE-size.

This is expected. The "-z" switch might reduce the size, though.

> On Linux mbbundled EXE does work without "--deps".

Yeah, but only on your machine ;-)

Robert




More information about the Mono-devel-list mailing list