[Mono-dev] Where a portable application should store files?

Leszek Ciesielski skolima at gmail.com
Tue Jun 16 05:18:58 EDT 2009


Hi,

CruiseControl.Net currently stores all it's files, logs, configuration
and work data in Path.CurrentDirectory. This causes problems not only
on *nixes, but even on newer versions of windows. What should be used
instead? Possible candidates are:

Environment.GetFolderPath (Environment.SpecialFolder.CommonApplicationData)
Environment.GetFolderPath (Environment.SpecialFolder.LocalApplicationData)
Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData)

did I miss anything? Their MSDN documentation is very MS-centric (I
read the go-mono one and still don't know what to choose), so ccnet
developers are having a bit of a problem choosing values that will
work on Linux as well (when CruiseControl.Net is run on a separate
user account).

Regards,

Leszek 'skolima' Ciesielski


More information about the Mono-devel-list mailing list