重新发布已删除的nuget包 [英] Republish deleted nuget package

查看:87
本文介绍了重新发布已删除的nuget包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

nuget feed的其他实现允许在nuget删除之后对具有相同名称和相同版本的包进行nuget推送,但是TFS实现不需要。这是将nuget包重新发布到TFS nuget feed的正确方法吗?

Oher implementations of the nuget feed are allowing to make nuget push after nuget delete for a package with the same name and the same version, but TFS implementation dose not. That is the correct way to republish nuget package into TFS nuget feed?

推荐答案

您好Nikolay,

Hi Nikolay,

谢谢在这里发布。

删除TFS中的nuget包并不意味着它会永久消失,它仍然在TFS上但你不能再根据文件安装或恢复它MSDN。  https://www.visualstudio.com/en-us/docs / package / nuget / unlist-delete

Delete a nuget package in TFS that doesn't means it will disappear permanently, it still on TFS but you can't install or restore it anymore according to the document of MSDN. https://www.visualstudio.com/en-us/docs/package/nuget/unlist-delete

如果要将nuget包重新发布到TFS nuget feed,则需要更改版本号,否则会发生冲突。

If you want to republish a nuget package to TFS nuget feed, you need to change the version number, otherwise it would have conflicts.

祝你好运,


这篇关于重新发布已删除的nuget包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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