c# - 找不到 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),我也无法解析该类型。
解决方案
System.Configuration.ConfigurationManager 我检查了文档中的程序集名称,当我使用它作为搜索键时,我找到了这个 NuGet 包。
推荐阅读
- java - 使用元素 BufferedReader 和 BufferedWriter 创建数组对象
- python - 阅读文档 autodoc 似乎在 Python 3.6 格式化字符串上失败
- python - 使用 Python/Selenium 获取 Youtube 视频的标题
- django - 如何将 django-sitegate 添加到模板或现有页面?
- r - 读取非常非常大的 NDJSON
- python - 谷歌云大查询 pgk_resources
- angular - 使用平均堆栈应用程序无法正确发送邮件
- python - 通过套接字发送消息时延迟多少
- c# - 如何重置隐形 Recaptcha
- ios - 如何在 App Store Connect 中添加本地化?