Frage

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

War es hilfreich?

Lösung

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

using System.COnfiguration;
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top