[Mono-bugs] [Bug 79207][Nor] Changed - Recent changes in AppDomain loading affect mono-service

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 30 13:11:01 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 robertj at gmx.net.

http://bugzilla.ximian.com/show_bug.cgi?id=79207

--- shadow/79207	2006-08-30 12:20:05.000000000 -0400
+++ shadow/79207.tmp.18563	2006-08-30 13:11:01.000000000 -0400
@@ -158,6 +158,32 @@
       </dependentAssembly>
     </assemblyBinding>
   </runtime>
 </configuration>
 
 ...into machine.config.
+
+------- Additional Comments From robertj at gmx.net  2006-08-30 13:11 -------
+Miguel, try this on your machine. If it works, you definitely
+don't run the mono version with the applied appdom patch.
+
+
+using System;
+using System.Reflection;
+
+class Server : MarshalByRefObject
+{
+        static void Main ()
+        {
+                AppDomainSetup setup = new AppDomainSetup ();
+                setup.ApplicationBase = "bin";
+
+                AppDomain ad = AppDomain.CreateDomain ("foo", null,
+setup);
+                ad.DoCallBack (new CrossAppDomainDelegate (CallBack));
+        }
+
+        static void CallBack ()
+        {
+        }
+}
+


More information about the mono-bugs mailing list