Posts Tagged ‘C#’

Fixing Obsolete System.Configuration.ConfigurationSettings.AppSettings in C#

Okay this is a quick one. If you’re having “‘System.Configuration.ConfigurationSettings.AppSettings’ is obsolete: ‘This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings’” as error message when working with C#, then you have come to the right place for the fix. Here we go then.
To fix it, just add a reference to “System.Configuration.dll“. And change from [...]

Powered by WordPress