I'm coding a Windows Service.
I added the dll and namespace as shown below .
using System.Configuration;
//This line cause error but why ?
var settings = System.Configuration.ConfigurationManager.AppSettings;
Error:The type or namespace name 'ConfigurationManager' does not exist in the namespace 'System.Configuration'
Project Target is v4.0 and I successfully install and start service
Thanks.