[Mono-dev] CurrentDomain.BaseDirectory when embedding

Steve Baer steve at mcneel.com
Fri Mar 11 18:55:12 EST 2011

I’m getting an exception when calling NSApplication.Init() in a MonoMac built from the latest github source in our application which is embedding Mono.  I don’t think the has to do with MonoMac, but has just turned up something in the embedding API. Turns out that
returns null when mono is running embedded. I’ve tried both mono_jit_init and mono_jit_init_version to create the default AppDomain and they both give me a null BaseDirectory (no surprise since they just end up calling the same mini_init function).  I’ve been digging around the embedding header and c files for a while, but haven’t run across any way to set up the initial AppDomain. Maybe I’m just looking in the wrong place.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110311/79ab1874/attachment.html 

More information about the Mono-devel-list mailing list