[Mono-list] Cross-platform user settings files

Daniel Lo Nigro lists at dan.cx
Sat Dec 29 01:11:17 UTC 2012


What's wrong with the built-in Application Settings features in the .NET
Framework? I've never tested this with Mono, but it's been there since .NET
Framework 2.0 so I assume it would work fine. The .NET Framework handles
loading and saving the settings into an XML file, and gives strongly-typed
access to all the properties.

See http://msdn.microsoft.com/en-us/library/k4s6c3a0(v=vs.100).aspx


On Sat, Dec 29, 2012 at 2:49 AM, Hristo Pavlov <hristo_dpavlov at yahoo.com>wrote:

> Hello,
>
> What is the recommended way to save user settings files from Mono across
> different platforms?
>
> For example I have an XML file with settings that I want to store
> somewhere. I thought the IsolatedFileStorage would be a good place but I
> have permission problems (read and write) on both Mac OSX and Linux.
>
> Would the solution require setting file access permissions during
> deployment or is there a place a user can always save a file?
>
> Where is the best location on Linux/Mac OSX to store such setting files?
>
> Regards,
> Hristo Pavlov
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121229/f1eba2c5/attachment.html>


More information about the Mono-list mailing list