[Mono-bugs] [Bug 76757][Nor] Changed - Major bug on AppDomain,
new AppDomains inherit current loaded assemblies
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Nov 19 13:48:01 EST 2005
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 kornelpal at hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76757
--- shadow/76757 2005-11-19 13:39:14.000000000 -0500
+++ shadow/76757.tmp.29028 2005-11-19 13:48:01.000000000 -0500
@@ -125,6 +125,20 @@
------- Additional Comments From kornelpal at hotmail.com 2005-11-19 13:39 -------
Created an attachment (id=16088)
Assembly.Load_MarshalByRefObject.zip
+
+------- Additional Comments From kornelpal at hotmail.com 2005-11-19 13:48 -------
+Exception is thrown even when passing serializable objects.
+
+The only possible thing I found is passing MarshalByRefObjects that
+are in assemblies not loaded by the app domain. They can be passed
+across app domains even when the type is unknown. In this case the
+object is proxied as type of MarshalByRefObject even if it has base
+classes that are visible to the app domain.
+
+I think in this case RemotingServices.ExecuteMessage could be used
+to invoke members of the marshaled object but I did not want to
+create a custom class that implements IMethodCallMessage and did not
+find an easier solution to invoke members.
More information about the mono-bugs
mailing list