[Mono-devel-list] Re: [Mono-patches] r36430 - trunk/mcs/class/System.Web

Jonathan Gilbert 2a5gjx302 at sneakemail.com
Tue Nov 23 22:07:28 EST 2004


At 07:12 PM 23/11/2004 -0500, John Luke wrote:
>Turns out I still have cygwin on another computer, here is just one
>simple example:
[snip]
>$ csc foo/t.cs
[snip]
>$ csc foo\\t.cs

Ah, turns out we were talking about different things :-) I was referring to
assembly references -- /r:path/to/assembly.dll -- which, as I tested, work
fine. You'll probably find they work under Cygwin too. I tested what you
tested and found the same results without Cygwin.

The only explanation I can think of for '/'-based paths not working for
input files is that it is likely a bug in CSC's argument parser, which
probably searches for '/'s to indicate switches. Based on the output you
showed, it probably thinks "anything containing a '/' must be a switch",
which is "fair" since Windows filenames are not allowed to embed '/'s, but
it really would make more sense if they checked for '/' specifically at the
start of the string. Oh well :-) Not much that can be done about it.

Jonathan Gilbert




More information about the Mono-devel-list mailing list