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

Elmar Haneke elmar at haneke.de
Thu Sep 6 13:00:46 EDT 2007



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.

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

Elmar



More information about the Mono-devel-list mailing list