dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] Platform Independent Directory Separators


From: Rhys Weatherley
Subject: Re: [Pnet-developers] Platform Independent Directory Separators
Date: Thu, 30 Oct 2003 07:06:08 +1000
User-agent: KMail/1.4.3

On Wednesday 29 October 2003 11:49 pm, WC Jones wrote:

> bash-2.05$ ilrun
> ./cspapi1_examples/ch06/Fig06_10/RollDie/bin/Debug/RollDie.exe Uncaught
> exception: System.IO.FileNotFoundException: Could not find file
> "/usr/local/Forsaken/Project\images\die4.png" Filename:
> /usr/local/Forsaken/Project\images\die4.png

I've checked the pnet code and it does convert '\' to '/' internally, even 
though the exception reports the pre-converted version.

The question then becomes, does the following file exist on your system:

    /usr/local/Forsaken/Project/images/die4.png

It seems an odd location to find the image given that the example itself was 
in a completely different directory.

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]