且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

类型 Universe 无法解析程序集:System.Configuration AND 无法解析程序集或 Windows 元数据文件“System.Configuration.dll"

更新时间:2023-01-29 17:35:34

我能够通过选中在 Visual Studio 中构建期间自动检查丢失的包"来解决此问题(允许 NuGet 下载丢失的包"已被选中),然后重建.您可以在工具 --> NuGet 包管理器 --> 包管理器设置中找到这些设置.

I was able to resolve this by checking "Automatically check for missing packages during build in Visual Studio" (the "Allow NuGet to download missing packages" was already checked), then rebuilding. You can find these settings in Tools --> NuGet Package Manager --> Package Manager Settings.