سؤال

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

هل كانت مفيدة؟

المحلول

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

using System.COnfiguration;
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top