Settings.settings vs app.config?

Possible duplicate:
What is the difference between the app.config file and the XYZ.settings file?

What is the big difference here? I like to use Settings.Settings because the og editor does not get all xml in app.config.

+4
source share
2 answers

Settings.settings is a constructor file for Visual Studio to generate a settings class, for example, how .resx files contain resources.

Settings need to be stored somewhere, but they are not saved in Settings.settings (by default they are). They are stored in .config files.

You can update the generated class with app.config and not worry about how to manipulate XML.

+4
source

You should not set environment values ​​(for example, connection string lines) in the settings file, since they are not protected. Also, the settings in app.config cannot be set from the settings file, so after a while you will have to use both files.

0
source