[Mono-list] Cross-platform user settings files

Alberto León leontiscar at gmail.com
Fri Dec 28 16:22:56 UTC 2012


In windows you will have problems if the application is executed by a user
and the file is trying to save to a directory without permissions. Take
care with the user that is executing MonoDevelop or the app that should
save the file.


2012/12/28 Hristo Pavlov <hristo_dpavlov at yahoo.com>

> 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
>
>


-- 

http://stackoverflow.com/users/690958/alberto-leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121228/0753870e/attachment-0001.html>


More information about the Mono-list mailing list