I am using c#.net console project, Visual Studio 2013 with .Net Version 4.5. My need is to persist information which would change dynamically and would need to exist across application sessions. I am able to accomplish this using the Application.Settings
file.
I created the settings file and the key with value="oldValue"
as stated here. Now I am able to edit and save using below code.
Settings.Default["key"] = "newValue";
Settings.Default.Save();
This value is persisted and the change reflects across application sessions. However, when I open the Application.Settings
file through visual studio, in the GUI value text box the value is still the "oldValue"
. Why doesn't it change?