[Mono-list] Cross-platform user settings files

Ian Norton ian.norton-badrul at thales-esecurity.com
Fri Dec 28 21:21:06 UTC 2012


Do your settings 'need' to be in an XML file? you can store things in the .net
registry with very little fuss for cross-platform work.

On Fri, Dec 28, 2012 at 03:49:40PM +0000, Hristo Pavlov 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



More information about the Mono-list mailing list