ConfigurationManager不认的问题

问题:

  新建一个Class项目,在类中为了使用ConfigurationManager这个类, 引用了System.Configuration

命名空间

  using System.Configuration;

但是发现在程序中,系统确不认识ConfigurationManager关键字.

  解决:

在你的Project引用中,需要add reference -> System.Configuration

技术改变世界
原文地址:https://www.cnblogs.com/davidgu/p/2078420.html