Environment = VS 2005, c# 2.0
I have a problem using the System.Configuration Namespace.I am not getting the ConfigurationManager class to use in the following code though I have imported the
System.Configuration namespace.
System.Configuration.Configuration config =ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
config.AppSettings.Settings.Add("NewKey", "New Value");
config.Save();
Thanks

AlanRank #669 · 3.6K reputationPosted Jun 21, 2007, 10:26 AM EDT
I'm not sure that it's added automatically.
Jan MontanoRank #1,295 · 1.3K reputationPosted Jun 21, 2007, 6:44 PM EDT