Search code examples
c#visual-studio-2012configurationmanager

Website is already referencing the assembly System.Configuration


I am trying to add System.Configuration as a reference but get the message

Website is already referencing the assembly System.Configuration

I aneed this however to access ConfigurationManager.

How can I solve this problem?

Regards


Solution

  • If you already have a reference you only need to put a using statement in the top of your .cs-file:

    using System.COnfiguration;