Unable to access ConfigurationManager.AppSettings in a Windows Forms Application

cllpse picture cllpse · Nov 25, 2009 · Viewed 28.1k times · Source

How can I access ConfigurationManager.AppSettings in my Windows Forms Application?

The error message reads: The name 'ConfigurationManager' does not exist in the current context.

Answer

SLaks picture SLaks · Nov 25, 2009

Add a reference to System.Configuration.dll.