头文件添加了using System.Configuration后,还要添加对它dll的引用references,我的文件位置在C:\Windows\Microsoft.NET\Framework64\v4.0.30319下。引入后错误消失。

在解决方案资源管理器里的“引用”中添加“System.Configuration”。

c#.net中引入ConfigurationManager报错

相关文章:

  • 2022-12-23
  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-10-28
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2021-07-29
  • 2021-09-19
  • 2021-07-27
  • 2022-12-23
  • 2022-02-03
  • 2021-10-26
相关资源
相似解决方案