[Mono-osx] Fwd: mono_parse_config not working?
Andreas Färber
andreas.faerber at web.de
Wed Jun 27 04:39:21 EDT 2007
Anfang der weitergeleiteten E-Mail:
> Von: Andreas Färber <andreas.faerber at web.de>
> Datum: 27. Juni 2007 10:38:12 MESZ
> An: Pedro Gutierrez <pgutierrez at etsii.upm.es>
> Betreff: Re: [Mono-osx] mono_parse_config not working?
>
> Hello Pedro,
>
>> I'm trying to embed mono but mono_parse_config is not working as
>> expected. According to the mono docs I should do the following:
>>
>> mono_assembly_setrootdir (libPath);
>> mono_set_config_dir (etcPath); //
>> mono_config_parse (NULL);
>>
>> Before calling mono_jit_init. libPath and etcPath point to:
>> /Library/Frameworks/Mono.framework/Versions/1.2.4/lib
>> /Library/Frameworks/Mono.framework/Versions/1.2.4/etc
>> respectively.
>
> I've had some issues too and ended up with this order:
> mono_set_dirs(NULL, NULL);
> domain = mono_jit_init_version("Mine", "v2.0.50727");
> mono_config_parse(NULL);
>
> Andreas
More information about the Mono-osx
mailing list