在以下主要来源中找不到包 [英] Package is not found in the following primary source

查看:89
本文介绍了在以下主要来源中找不到包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了一个构建管道来创建Nuget软件包并将其发布到工件中的提要中.

I have a build pipeline set up to create Nuget packages and publish them to a feed in artifacts.

我能够成功使用该供稿.

I was able to use the feed successfully.

但是,当我再次运行管道,导致程序包再次发布时,我无法成功更新消耗项目.

However when I ran the pipeline again, causing the packages to publish again I am not able to update the consuming project successfully.

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

Even though I can see the correct new version number in the Package Manager (Visual Studio -> Tools-> Nuget Package Manager -> Manage Nuget Packages for solution)

单击安装"时出现错误

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.

推荐答案

我又等了5分钟,问题消失了.也许版本会在发布完成之前显示.

I waited another 5 minutes and the problem went away. Maybe the version shows before the publishing is complete.

这篇关于在以下主要来源中找不到包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆