C
CTG
I am trying to add something to my App.connfig xml file.
I try something like the following:
config = ConfigurationManager.OpenExeConfiguration
(ConfigurationUserLevel.None);
config.AppSettings.Settings.Add("This", "That");
config.Save();
ConfigurationManager.RefreshSection("appSettings");
Ok , file is updated but as soon as you leave the application ,
APp.config goes back to what it used to be before teh update ....
Does nyone know why as I m running out of ideas...
Thanks
I try something like the following:
config = ConfigurationManager.OpenExeConfiguration
(ConfigurationUserLevel.None);
config.AppSettings.Settings.Add("This", "That");
config.Save();
ConfigurationManager.RefreshSection("appSettings");
Ok , file is updated but as soon as you leave the application ,
APp.config goes back to what it used to be before teh update ....
Does nyone know why as I m running out of ideas...
Thanks