[Mono-devel-list] Problems with IO.Directory.Exists and AppDomain.CurrentDomain.BaseDirectory

Ivan Hawkes blackhawk at ivanhawkes.com
Sat Jul 5 23:10:44 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 06 Jul 2003 4:05 am, Gonzalo Paniagua Javier wrote:
> El s?, 05-07-2003 a las 21:45, Ivan Hawkes escribió:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > As you can see, the ASPX program has pre-pended the dir with file://.
> > This may or may not be valid behaviour since it's hard to tell from the
> > MS docs. The problem comes in when I make a call to IO.Directory.Exists.
> > The first form is acceptable and returns a correct result, but the one
> > starting with file:/// is not acceptable and returns a false, even though
> > that dir actually exists.
> >
> > Is this a problem with the runtime? Should IO.Directory.Exists be able to
> > parse file:// etc?
>
> Can you, please, try that on MS?
>
> -Gonzalo

I have. This whole project is a simple porting of a well tested and working MS 
.Net project. And by well tested I mean hundreds of hours in test lab with 
professional test manager and defect tracking.

The only thing unknown is whether MS version would return file:// from the 
AppDomain.CurrentDomain.BaseDirectory, which I think it should. I'll reboot 
and give it a test once I've had a little sleep.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iQIVAwUBPweTNPr1e7bH1pzBAQIuyQ//dWAcoxVdeFJtEFpl9jse1rF0vl9MgKg/
ic3uY2lsDiEOMk2zc+gqUknxpA7mkEIfKEz7GX+CprCCamyJ/zUh5zJbiz1rtpsb
f6oW3NY7EScWJGw2bJLisFrJzy+OguFgOcL/J3iZOsx0vWWUFjSXpoo1f+oCSX7z
Dcu1VYBFUmDdWOMaf4hZ3FEwnm4eTCVuxB3uGo8yZBjSJyDyv8aDRZe18h+yWy9L
X9Sw/i5gLDWGVTTOfONF+KSGU5E6lwDujThMRolWBYwyUTJiejUv/piHWT9yjWBy
gYM07OnwYp+/gueeDO6vIqfLv7tWIBI1PQ/DoWzNlLYfTirHoRP6WiZ3zuDkfEaX
VXlwmTaGvMIlzd6F9m/HIT36Bhvp1rLgkQzuHhjZmhLKHkeUnoQigY+kalgce84R
9R1I8qO8KjAw6O2m951i5KeXqtI54yLsbUJ7F+h7xHJjpj9VYPD1nKRk/ALxSTKv
d86pMiauArSXA+qUH7F8t4L6aIRzHDwg8IfiZce3zofuQs1r6CX2N1GVi3bK1YAW
YQoH/oVI1gTIHoqVWgyjPR72+WqAYYsmm80CzMLS/MGR1ksWSfEhsvTR0reYDjy2
uzHxKvp035zcE6fvHr+49YGosn17Il94a0lUxhqXnMhdFYXcz8K6Dr7f1ZBC4dGL
kgNUEYti6ck=
=epQx
-----END PGP SIGNATURE-----



More information about the Mono-devel-list mailing list