[Mono-bugs] [Bug 50787][Wis] New - Assembly.Load fails when given the long form of an assembly name

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 10 Nov 2003 15:44:09 -0500 (EST)

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 jackson@ximian.com.


--- shadow/50787	2003-11-10 15:44:09.000000000 -0500
+++ shadow/50787.tmp.5749	2003-11-10 15:44:09.000000000 -0500
@@ -0,0 +1,60 @@
+Bug#: 50787
+Product: Mono/Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jackson@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Assembly.Load fails when given the long form of an assembly name
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When using a the long form of an assembly name ie ("load, Version=,
+Culture=neutral, PublicKeyToken=null") an exception is thrown saying that
+the file load, Version= can not be found. 
+Steps to reproduce the problem:
+1. Compile attachment1 load.cs (mcs /target:library load.cs)
+2. Compile attachment2 LoadText.cs (mcs LoadText.cs)
+3. Run LoadTest.exe
+Actual Results:
+Unhandled Exception: System.IO.FileNotFoundException: File 'load,
+Culture=Neutral' not found.
+in (unmanaged)
+/home/jackson/bin/lib/libmono.so.0(mono_raise_exception+0x1b) [0x4007852b]
+in (unmanaged) /home/jackson/bin/lib/libmono.so.0 [0x400967cf]
+in <0x0006c> (wrapper remoting-invoke-with-check)
+in <0x00044> System.AppDomain:Load
+in <0x0006b> (wrapper remoting-invoke-with-check) System.AppDomain:Load
+in <0x000a2> System.AppDomain:Load (string)
+in <0x00058> (wrapper remoting-invoke-with-check) System.AppDomain:Load
+in <0x0001c> System.Reflection.Assembly:Load (string)
+in <0x0001d> .T:Main ()
+Expected Results:
+LoadedAssembly: 'load, Version=, Culture=neutral, PublicKeyToken=null'
+How often does this happen? 
+Additional Information: