我已经托管了我自己的 NuGet 服务器,它对我的库非常有用。在这种情况下,我安装了“NuGet.Server”包。
最近,它不再工作了,我无法在其上推送任何版本。当我检查这个问题时,我发现它的一个依赖项“NuGet.Core”已被弃用,因为它是遗留的并且不再维护。
NuGet.Core
This package has been deprecated as it is legacy and is no longer maintained.
更多详情
NuGet.Core is part of NuGet client v2 APIs. They have been replaced by NuGet client v3 and later APIs.
在安装“NuGet.Server”包时,它仍然安装不推荐使用的包(NuGet.Core)。
如何托管我自己的 NuGet v3 服务器?
如何升级我现有的 NuGet 服务器以兼容 v3?
最佳答案
不推荐使用的包消息,在解决 NuGet.Server 问题的情况下,我迁移到不同的服务器并且它可以工作。 BaGet 是由白天在 nuget.org 上工作的人编写的,因此它是一个不错的选择。
我建议迁移到更新和维护的替代方案:BaGet ( BaGet )
关于c# - 我自己托管的 NuGet 服务器不再正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58713329/