[Mono-bugs] [Bug 81040][Wis] Changed - Path with spaces causes Assembly.Load to fail

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 5 16:40:15 EST 2007

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 naasking at gmail.com.


--- shadow/81040	2007-03-05 15:20:56.000000000 -0500
+++ shadow/81040.tmp.32006	2007-03-05 16:40:15.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 81040
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: Windows XP
-Status: RESOLVED   
-Resolution: NOTABUG
+Status: REOPENED   
 Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: naasking at gmail.com               
 QAContact: mono-bugs at ximian.com
@@ -93,6 +93,14 @@
 will attempt to load the assembly by scanning the base directory of 
 the appdomain and the GAC for an assembly matching the given assembly 
 name (the actual procedure is more complex, but you get the point).
 If you want to load an assembly using a known file path, then use 
+------- Additional Comments From naasking at gmail.com  2007-03-05 16:40 -------
+If the path does not contain spaces, the assembly is found, if the
+path contains spaces it is not found. This is a BUG with Mono's
+AssemblyName.GetAssemblyName or Assembly.Load. The above code works
+perfectly with Microsoft's .NET implementation, yet fails with Mono.
+IKVM.NET uses this exact procedure for loading assemblies. Bug was
+confirmed with IKVM developer before filing it here.

More information about the mono-bugs mailing list