[Mono-bugs] [Bug 76757][Nor] Changed - new AppDomains inherit current loaded assemblies

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 31 17:14:39 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by brian at fluggo.com.


--- shadow/76757	2006-07-31 10:36:27.000000000 -0400
+++ shadow/76757.tmp.30532	2006-07-31 17:14:39.000000000 -0400
@@ -605,6 +605,21 @@
 The test case fails because "shared.dll" is loaded separately
 in both domains. See Zoltan's comment at the bottom of bug #52756
 W/out Jb's patch, shared.dll is inherited from the root domain
 and the test case succeeds.
+------- Additional Comments From brian at fluggo.com  2006-07-31 17:14 -------
+I'm not saying it's a perfect solution. I'm more saying it's a start.
+I really like the environment variable solution, too.
+Robert-- be careful with your method DumpAssemblies. Assemblies are
+not MarshalByRefObjects, so when you enumerate assemblies from another
+domain, you're effectively asking them to be loaded into the calling
+domain. That could pollute your results; you need to have the target
+domain enumerate its own assemblies.
+You ought to also try my patch. I noticed that there were a few bugs
+in the serialized CAD path that prevented some xdomain calls from
+working (in particular, the way type info was serialized across domains).

More information about the mono-bugs mailing list