gpt4 book ai didi

.net - 在以下主要来源中找不到包

转载 作者:行者123 更新时间:2023-12-03 22:53:09 26 4
gpt4 key购买 nike

我设置了一个构建管道来创建 Nuget 包并将它们发布到工件中的提要。

我能够成功使用提要。

但是,当我再次运行管道时,导致包再次发布,我无法成功更新使用项目。

即使我可以在包管理器中看到正确的新版本号(Visual Studio -> 工具 -> Nuget 包管理器 -> 管理 Nuget 包以获取解决方案)

当我点击安装时出现错误

Package '<mypackagename with version number>' is not found in the following primary source

<correct feed nuget/v3/index.json> Please verify all your online package sources are available (OR) package id, version are specified correctly.

最佳答案

这是由缓存引起的。如果您不想像上面建议的答案那样等待,只需通过转到工具 -> 选项 -> Nuget -> 常规并单击“清除所有 Nuget 缓存”按钮来清除 Nuget 缓存。

关于.net - 在以下主要来源中找不到包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54738695/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com