[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 11:48:43 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 11:03:48.000000000 -0500
+++ shadow/76757.tmp.27647	2005-11-19 11:48:43.000000000 -0500
@@ -85,6 +85,17 @@
 only loads corlib in net 1.1 too ?
 
 
 ------- Additional Comments From mono at evain.net  2005-11-19 11:03 -------
 I've ran the test on .net 1.1 before submitting the patch.
 Only the corlib was printed.
+
+------- Additional Comments From kornelpal at hotmail.com  2005-11-19 11:48 -------
+I got the same result (only mscorlib is loaded by default) and it is 
+according to my experiences so this is the expected behavior for 
+sure.
+
+This is an important difference as when you load an assembly from a 
+specific file, byte array, or using AppDomain.AssemblyResolve event 
+using a type from such an assembly with AppDomain.CreateInstance for 
+example will result in an exception as the assembly cannot be loaded 
+to the other domain because it cannot be found by the runtime.


More information about the mono-bugs mailing list