[Mono-bugs] [Bug 78648][Wis] New - AppDomain.CreateDomain does not create an empty domain

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 14 15:37:51 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/78648	2006-06-14 15:37:51.000000000 -0400
+++ shadow/78648.tmp.15491	2006-06-14 15:37:51.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 78648
+Product: Mono: Runtime
+Version: 1.0
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: brian at fluggo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: AppDomain.CreateDomain does not create an empty domain
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Steps to reproduce the problem:
+1. Compile and execute the following program.
+using System;
+using System.Reflection;
+namespace Test {
+    class TestClass {
+        public static void Main( string[] args ) {
+            AppDomain newDomain = AppDomain.CreateDomain( "testDomain" );
+            foreach( Assembly assem in newDomain.GetAssemblies() ) {
+                Console.WriteLine( assem.FullName );
+            }
+        }
+    }
+Actual Results:
+mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+test-EmptyAppDomain, Version=, Culture=neutral
+Expected Results:
+mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+How often does this happen? 
+Every time.
+Additional Information:
+New AppDomains should be empty, except, of course, for the core libraries.
+Under Mono, however, any assembly loaded under the creating-AppDomain ends
+up loaded in the created-AppDomain.

More information about the mono-bugs mailing list