[Mono-bugs] [Bug 47400][Min] New - /reference argument parser fails if the ref string has a trailing semicolon
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 5 Aug 2003 13:00:08 -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 stevel@apache.org.
http://bugzilla.ximian.com/show_bug.cgi?id=47400
--- shadow/47400 Tue Aug 5 13:00:07 2003
+++ shadow/47400.tmp.32024 Tue Aug 5 13:00:07 2003
@@ -0,0 +1,42 @@
+Bug#: 47400
+Product: Mono/MCS
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: stevel@apache.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: /reference argument parser fails if the ref string has a trailing semicolon
+
+Hi,
+
+We are adding mono support to the Ant build tool; now that your tools are
+adding support for the MS argument syntax this should be fairly easy.
+
+The first thing to break is that if you have a list of references on the
+command line with a trailing semi
+
+/reference a.dll;b.dll;
+
+We get an error:
+error CS0006: Cannot find assembly `'
+
+I guess trailing semi support is an implicit part of the MS syntax, or
+maybe it is 'support for empty assemblies'.
+
+I wonder what /reference ;;; does...
+
+My recommended fix would be to skip empty references in reference lists, as
+this should automatically get the trailing semi, and be more robust all
+round. We will work around it in Ant soon enough, but worry about other
+tools and users.
+
+-steve