[Mono-bugs] [Bug 75809][Nor] New - monodis fails to load assemblies that ends with .exe

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Aug 13 15:57:59 EDT 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 mono at evain.net.

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

--- shadow/75809	2005-08-13 15:57:59.000000000 -0400
+++ shadow/75809.tmp.5616	2005-08-13 15:57:59.000000000 -0400
@@ -0,0 +1,73 @@
+Bug#: 75809
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: mono at evain.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: monodis fails to load assemblies that ends with .exe
+
+If an assembly A reference an assembly B, and B's filename is b.exe instead of b.dll, monodis will 
+fail to find B
+
+Steps to reproduce the problem:
+// mcs a.cs
+using System;
+
+public class Test {
+
+	public Test ()
+	{
+		Console.WriteLine ("Test.Test");
+	}
+}
+
+class T {
+	static void Main ()
+	{
+		Console.WriteLine ("T.Main");
+	}
+}
+
+// mcs b.cs /r:a.exe
+using System;
+
+class EP {
+
+	static void Main ()
+	{
+		Test t = new Test ();
+	}
+}
+
+monodis b.exe
+
+Actual Results:
+** (process:25232): WARNING **: The following assembly referenced from /Users/jbevain/
+Sources/temp/bug/hello.exe could not be loaded:
+     Assembly:   a    (assemblyref_index=1)
+     Version:    0.0.0.0
+     Public Key: (none)
+The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH 
+environment variable, or in the location of the executing assembly (/Users/jbevain/Sources/
+temp/bug/).
+
+
+** (process:25232): WARNING **: The class Test could not be loaded, used in /Users/jbevain/
+Sources/temp/bug/b.exe (token 0x01000002)
+
+
+Expected Results:
+No error, monodis should find a.exe
+
+How often does this happen? 
+Always


More information about the mono-bugs mailing list