我在班上使用ConfigurationManager。我添加了使用的System.Configuration。使用是灰色的,ConfigurationManager是未知的。为什么我的.NET核心3.1项目不知道System.Configuration.ConfigurationManager?应该是标准的?!

发布于 2022-06-21 08:04:45
您必须将System.Configuration.dll添加到引用中。或通过安装包System.Configuration.ConfigurationManager命令安装相应的包.
https://stackoverflow.com/questions/72697123
复制相似问题