I use the appsettings section of the config file to store local application variables. They get written fine during my app (I can check the contents while the app is running and all is fine) but as soon as I stop my app. and then invoke it again the .config file is reset all my settings are gone! All that's left is the basic structure with my sql connection line.
I am currently running this in debug mode and what seems to be happening is that when I update my myapplication.exe.config file this is is done in the debug folder, however, each time my app runs a file called app.config, in my vs.net solution folder, is copied into the debug folder overwritting my newly updated .config file!
Why / which file should I be updating??????