首页 > 解决方案 > 找不到 ConfigurationErrorsException nuget 包或程序集 .net Core 2.2

问题描述

我正在尝试在 .net Core 2.2 应用程序中使用ConfigurationErrorsException 。我在这里查看了文档:https ://docs.microsoft.com/en-us/dotnet/api/system.configuration.configurationerrorsexception?view= netcore-2.2,但我无法弄清楚我需要按顺序安装哪个 NuGet 包能够使用这个类,如果有的话。即使使用完全限定名称(System.Configuration.ConfigurationErrorsException),我也无法解析该类型。

标签: c#.net-core

解决方案


System.Configuration.ConfigurationManager 我检查了文档中的程序集名称,当我使用它作为搜索键时,我找到了这个 NuGet 包。


推荐阅读