[Mono-devel-list] Problems with IO.Directory.Exists and AppDomain.CurrentDomain.BaseDirectory
Gonzalo Paniagua Javier
gonzalo at ximian.com
Sat Jul 5 23:05:50 EDT 2003
El s?, 05-07-2003 a las 21:45, Ivan Hawkes escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> The wheels of conversion move onwards and I am now at the next problem. I have
> a sample ASPX page that calls a library which is also shared with my little
> simpletest.exe program. The simpletest.exe program runs the code fine and the
> ASPX doesn't. It comes down to a difference in the way they are implementing
> simpletest.exe returns a result similar to this:
> and ASPX program returns this:
> 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?
More information about the Mono-devel-list