Gonzalo Paniagua Javier wrote:
Can you please file bug reports in bugzilla.ximian.com and attach a test
case for these problems?
mono-devel-list is taking a bizarre amount of time to show my message.
Regardless, here's one potential solution.
--Brian
Index: appdomain.c
===================================================================
--- appdomain.c (revision 61712)
+++ appdomain.c (working copy)
@@ -496,12 +496,8 @@
mono_context_init (data);
- /* The new appdomain should have all assemblies loaded */
- mono_domain_assemblies_lock (domain);
- /*g_print ("copy assemblies from domain %p (%s)\n", domain,
domain->friendly_name);*/
- for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next)
- add_assemblies_to_domain (data, tmp->data, NULL);
- mono_domain_assemblies_unlock (domain);
+ /* Load only the corlib into the new domain */
+ add_assemblies_to_domain (data, mono_defaults.corlib->assembly, NULL);
return ad;
}
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list