[Mono-dev] Embedding MONO_PATH
Elmar Haneke
elmar at haneke.de
Wed Sep 26 11:06:11 EDT 2007
Marcos Cobeña Morián schrieb:
> Hello Elmar,
>
> 2007/9/26, Elmar Haneke <elmar at haneke.de>:
>> My Application seems to run if I enter "set mono_path=." before
>> starting. But for most simple deployment no shell-variables should be
>> modified.
>
> Could you elaborate on this? Do you mean it doesn't run without
> setting MONO_PATH? If you do, why?
It does not find the assemblies copied to application directory.
Invoking
mono_set_dirs ("","");
in main and moving mscorlib.dll to
./mono/2.0
seems to help here.
Elmar
More information about the Mono-devel-list
mailing list