FW: [Mono-list] Handling file paths for different operating systems

Adam Chester achester@bigpond.com
Sun, 8 Feb 2004 00:50:25 +1000


Sounds like a deployment issue to me, generating the correct plugin
directory default setting during your installation / setup process seems the
right thing to do.

Why would you want to copy an installation-dependant setting like this
between different operating systems anyway? How do you know the user has
installed at the same path?

-adam

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Timothy Parez
Sent: Saturday, 7 February 2004 5:20 PM
To: mono-list@lists.ximian.com
Subject: [Mono-list] Handling file paths for different operating systems

Hi,

I'm wondering, if you have an application which uses a file path for one of
its setttings, for example in the .config file of the application there's an
entry: 
<add key="PluginDirectory" value="")

Of course I could have an entry for each different OS, but that's not
exactly nice design, how can I write down a path in a universal way, or make
it so that it works on all systems

Thnx.
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list