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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 24 10:33:57 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 robertj at gmx.net.

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

--- shadow/76757	2005-11-24 06:59:39.000000000 -0500
+++ shadow/76757.tmp.2298	2005-11-24 10:33:57.000000000 -0500
@@ -376,6 +376,25 @@
 it's OK to copy dependencies to web application bin directory for 
 unit tests as it is a correct use of assembly resolver.
 
 Sorry for previously stating that web application AppDomains depend 
 on xsp.exe, that was a wrong assumpltation. But XSP currently 
 prevents this bug from being fixed.
+
+------- Additional Comments From robertj at gmx.net  2005-11-24 10:33 -------
+> I think production XSP/mod_mono should use GAC but 
+> it's OK to copy dependencies to web application bin directory for 
+> unit tests as it is a correct use of assembly resolver.
+
+The assembly resolver cannot be used because the
+appdomain created by ApplicationHost.CreateApplicationHost()
+is not under caller's control.
+
+Have a look at ApplicationHost.CreateApplicationHost().
+It's either LAMESPEC or I'm missing something security
+related that makes this method beeing so strict.
+
+[The assembly resolver can only be used after the
+host has been created and unwrapped and only if the
+host provides some method to pass its appdomain
+back to the creator's domain]
+


More information about the mono-bugs mailing list