[Mono-list] msc path problem

Guenther Roith groith@tcrz.net
Sat, 23 Feb 2002 17:44:08 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0064_01C1BC91.B1AEFE80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The Compiler produces an error on windows if the path to the file =
contains a
drive letter and it is not run with cygwin.

(e.g. d:\test-1.cs)

Unhandled Exception: System.ArgumentException: Second path fragment must =
not
be
a drive or UNC name.
Parameter name: path2
   at System.IO.Path.InternalCombine(String path1, String path2)
   at System.IO.Directory.GetFiles(String path, String searchPattern)
   at Mono.CSharp.Driver.MainDriver(String[] args)
   at Mono.CSharp.Driver.Main(String[] args)



------=_NextPart_000_0064_01C1BC91.B1AEFE80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>The Compiler=20
produces an error on windows if the path to the file contains a<BR>drive =
letter=20
and it is not run with cygwin.<BR><BR>(e.g. =
d:\test-1.cs)<BR><BR>Unhandled=20
Exception: System.ArgumentException: Second path fragment must =
not<BR>be<BR>a=20
drive or UNC name.<BR>Parameter name: path2<BR>&nbsp;&nbsp; at=20
System.IO.Path.InternalCombine(String path1, String =
path2)<BR>&nbsp;&nbsp; at=20
System.IO.Directory.GetFiles(String path, String =
searchPattern)<BR>&nbsp;&nbsp;=20
at Mono.CSharp.Driver.MainDriver(String[] args)<BR>&nbsp;&nbsp; at=20
Mono.CSharp.Driver.Main(String[] =
args)</FONT><BR><BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0064_01C1BC91.B1AEFE80--