[mono-vb] Problem of path
Stifu
stifu at free.fr
Fri Mar 13 03:45:04 EDT 2009
Hi,
Check this out:
http://www.mono-project.com/Guidelines:Application_Portability#Path_Separators
ericcc wrote:
>
> Hello
>
> I have build some applications on Windows XP with Visual Basic 2008
> Express.
> Now I would like to run it on my Debian/testing machine.
>
> I have installed all needed library (I hope) but now I have a problem with
> the file system when I try to read/write some file :
> Unhandled Exception: System.IO.FileNotFoundException: Could not find file
> "/home/ericc/BBEditor2\languages\english.xml".
> File name: '/home/ericc/BBEditor2\languages\english.xml'
>
> It's a common problem, I think, when you move from windows to Linux but is
> it a simple way to solve it ?
>
> Should I do a specific build with replacing every "\" by a "/" ?
> Is it a way to detect if my application run under mono ?
>
> Thanks for your help
>
> ericc
>
--
View this message in context: http://www.nabble.com/Problem-of-path-tp22482241p22491609.html
Sent from the Mono - VB mailing list archive at Nabble.com.
More information about the Mono-vb
mailing list