[Mono-bugs] [Bug 62678][Wis] New - Referencing a module using -reference gives incorrect error message
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 8 Aug 2004 14:26:58 -0400 (EDT)
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 colin@breame.com.
http://bugzilla.ximian.com/show_bug.cgi?id=62678
--- shadow/62678 2004-08-08 14:26:58.000000000 -0400
+++ shadow/62678.tmp.18905 2004-08-08 14:26:58.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 62678
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: colin@breame.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Referencing a module using -reference gives incorrect error message
+
+mod.mod is a previously compiled module.
+
+$ mcs -r:mod.mod *.cs
+error CS0006: Cannot find assembly `mod.mod'
+Log:
+
+Compilation failed: 1 error(s), 0 warnings
+
+$ csc -r:mod.mod *.cs
+error CS1509: Referenced file 'c:\cygwin\home\Colin JN
+Breame\ims\src\test\mod.mod' is not an assembly; use '/addmodule' option
+instead