title: The name 'ConfigurationManager' does not exist in the current context
body: <p>I am trying to access <code>connectionStrings</code> from the config file. The code is ASP.NET + C#. I have added <code>System.Configuration</code> to reference and also mentioned with using. But still it wouldn't accept the assembly.</p>
  
  <p>I am using VSTS 2008. Any idea what could be the reason? </p>
  
  <p>Another weird thing is the assembly name shown as "System.configuration", a lower case c which is not how names are displayed for other System assemblies.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Configuration;
  
  namespace Utility
  {
      public class CommonVariables
      {
          public static String ConnectionString
          {
              get { return ConfigurationManager.ConnectionStrings["EmployeeEntities"].ConnectionString; }
          }  
      }  
  }
  </code></pre>
  
  <p>Config:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;connectionStrings&gt;
      &lt;add name="qbankEntities" connectionString="metadata=res://*/qbankModel.csdl|res://*/qbankModel.ssdl|res://*/qbankModel.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;Data Source=localhost;Initial Catalog=qbank;Persist Security Info=True;User ID=**;Password=****;MultipleActiveResultSets=True&amp;quot;" providerName="System.Data.EntityClient" /&gt;
    &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>