In C# desktop 2008 and 2010 applications, I have seeb code where the properties.settings file was accessed alot.
Thus can you tell me what the properties.settings file is setup for? Is is purpose the same or similar to an app.config file?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Oct 22, 2012, 11:28 AM
http://msdn.microsoft.com/en-us/library/k4s6c3a0.aspx
I'd draw your attention in particular to these two paragraphs:
"Application settings works by persisting data as XML to different configuration (.config) files, corresponding to whether the setting is application-scoped or user-scoped. In most cases, the application-scoped settings are read-only; because they are program information, you will typically not need to overwrite them. By contrast, user-scoped settings can be read and written safely at run time, even if your application runs under partial trust. For more information about partial trust, see Security in Windows Forms Overview.
Settings are stored as XML fragments in configuration files. Application-scoped settings are represented by the
This link about managing application settings is also worth reading:
http://msdn.microsoft.com/en-us/library/a65txexh.aspx