[Mono-bugs] [Bug 74982][Wis] New - Runtime do not load t.dll reference from within t.exe

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 17 17:38:02 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 nazgul at omega.pl.

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

--- shadow/74982	2005-05-17 17:38:02.000000000 -0400
+++ shadow/74982.tmp.20273	2005-05-17 17:38:02.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 74982
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: Mandrake 10.2  mono 1.1.7
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: nazgul at omega.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Runtime do not load t.dll reference from within t.exe
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When t.exe references some typed from t.dll, then mono have problems with
+choosing what to load - it sees that 't' is requested and chooses not to
+load anything, since it is already in 't', but this is different 't' - and exe.
+
+Steps to reproduce the problem:
+1. Compile td.cs using 'mcs /target:library /out:t.dll td.cs' 
+
+td.cs:
+public class B { }
+
+
+2. Compile t.cs using 'mcs /out:t.exe /r:t.dll t.cs'
+
+t.cs:
+class A {
+  B foo;
+
+  static void Main () { }
+}
+
+
+3. run 'mono t.exe'
+
+Actual Results:
+** (t.exe:29331): WARNING **: The class B could not be loaded, used in
+/home/nazgul/projects/nemerle/ncc/testsuite/t.exe (token 0x01000002)
+
+Expected Results:
+clear run
+
+How often does this happen? 
+Always
+
+Additional Information:
+on MS.NET with csc it works just fine


More information about the mono-bugs mailing list