找不到软件包y的版本x

时间:2019-05-15 18:24:53

标签: c# visual-studio

在构建解决方案时,我始终会收到此错误

Unable to find version x of package y Package 'y' is not found on source 'https://api.nuget.org/v3/index.json'

我检查了Visual Studio 2019的程序包源中是否正确提到了源

“管理解决方案的nuget软件包”下的“已安装”选项卡显示Y软件包,但在其下显示not available in this source

在同一窗口上,当我在项目上放置复选标记时,它在已安装的文本框中提到版本号,并为我提供了卸载选项。

我想尝试this,但找不到nuget.config VS正在我的计算机上使用。

如果为该解决方案安装了软件包,为什么在构建时会抱怨,为什么会显示not available in this source

0 个答案:

没有答案