[Mono-dev] Initializing the config file for embedded mono
Casey Marshall
casey.s.marshall at gmail.com
Fri Sep 19 13:46:28 EDT 2008
An issue we ran into when embedding mono into another program was that
the configuration file of the application domain wasn't being
initialized, so accessing that later (i.e., stuff in
ConfigurationManager) would cause a null pointer dereference.
I'll attach the patch we're using to fix this; it adds some setup
stuff to mini_init to ensure this gets initialized. Let me know if
this function isn't the right place for these.
This patch is against SVN revision 113069 of the mono-2-0 branch.
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.patch
Type: text/x-diff
Size: 1398 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080919/c9364133/attachment.bin
More information about the Mono-devel-list
mailing list