Reference to ConfigurationManager class generates compile errors in .net 4.5
I'm using this namespace:
using System.Configuration;
and here is my code:
private static string _smtpServer = ConfigurationManager.AppSettings["SMTPServer"];
However I am getting a compilation error saying that "ConfigurationManager" does not exist.
Thanks