[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-devel-list] Guidelines: Application Deployment;
From:       Kornél Pál <kornelpal () hotmail ! com>
Date:       2005-06-27 6:09:55
Message-ID: 01ca01c57ade$de2f5720$0100a8c0 () kornelpal ! hu
[Download RAW message or body]

>   I have written a small document with some guidelines on deploying
> applications, and would like to get people's feedback about what is
> missing and what can be clarified:

>string splash_file = base_directory + Path.PathSeparator + "splash.jpg";

Path.Combine should be used instead because it ensures a lot of things to
combine the two paths correctly (for details look at the source code):

string splash_file = Path.Combine(base_directory, "splash.jpg");

Kornél

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic