[Mono-dev] Saving Settings

Jonathan Pryor jonpryor at vt.edu
Mon Jan 1 21:30:14 EST 2007

On Mon, 2007-01-01 at 13:48 -0800, Charlie Poole wrote:
> NUnit 2.4 is now keeping its settings in an XML file, rather than the
> registry. I've been using the ApplicationData
> special folder, which is defined to be writable by the current user. 
> What I'm wondering is this: Is this currently working on most platforms? If
> not, can anyone suggest a fallback?

Environment.SpecialFolders.ApplicationData is ~/.config under Mono, and
has been for some time, so this should work.

Alternatively, you might look into using System.IO.IsolatedStorage,
which has also been present under Mono for quite some time...

 - Jon

More information about the Mono-devel-list mailing list