[Mono-list] Platform comparison

Jochen Wezel jwezel@compumaster.de
Mon, 8 Mar 2004 16:21:22 +0100


System.IO.Path.DirectorySeparatorChar should only be an example for a =
difference.
Especially in the MacWorld, I don't know what to take care of.

Other examples would be:
- Linux platforms currently need a small shell script for "text.exe" =
called "test" which contains a shell line "mono /some/path/test.exe" to =
start that application from the command line. Windows might start it =
without that script...? Or do we need a .bat file which starts the mono =
application in a similar way?
- Installers (.msi packages on Windows, ??? on Mac, rpm or ??? on Linux)
- Distribution How-Tos for supporting all platforms



-----Urspr=FCngliche Nachricht-----
Von: Rodolfo Campero [mailto:rodolfocampero@hotmail.com]=20
Gesendet: Montag, 8. M=E4rz 2004 16:00
An: Jochen Wezel; mono-list@ximian.com
Betreff: RE: [Mono-list] Platform comparison

Hi Jochen,
Instead of hard-coding the separator char, you can use =
System.IO.Path.DirectorySeparatorChar.
I don't know any guideline, but in general if you are about to do =
something that you think is not platform-independent, search a bit =
because is almost sure that there is a platform-independent way to do =
it.
Regards,
Rodolfo


>From: "Jochen Wezel" <jwezel@compumaster.de>
>To: <mono-list@ximian.com>
>Subject: [Mono-list] Platform comparison
>Date: Mon, 8 Mar 2004 14:37:41 +0100
>
>Hello together!
>
>Is there a comparison or guideline for the several platforms regarding=20
>what we developers have to pay attention to?
>For example, Linux uses "/" as directory separator char, Windows uses=20
>"\", but what about Mac OS (X)?
>
>Or maybe there are other points which are good to know?
>
>Jochen
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com=20
>http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.=20
http://join.msn.com/?page=3Dfeatures/featuredemail