Search code examples
c#configurationmanager

ConfigurationManager is not found


I use the ConfigurationManager in my class. I add the using System.Configuration. The using is grey and the ConfigurationManager unknown. Why my .NET Core 3.1 project don't know System.Configuration.ConfigurationManager? It should be standard?!

enter image description here


Solution

  • You have to add System.Configuration.dll to the referencess. or installing corresponding package by Install-Package System.Configuration.ConfigurationManager command.