c# - 我自己托管的 NuGet 服务器不再正常工作

标签 c# nuget nuget-package deprecated nuget-server

我已经托管了我自己的 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/

相关文章:

visual-studio - 在解决方案中的新项目中安装 nuget 包,其中包已用于现有项目

entity-framework - 安装 EF 4.4.0.0

visual-studio-2017 - 自动发布使用 VS2017 构建的 NuGet 包

c# - 使用编辑器模板编辑列表中的值 Spark View Engine

c# - winforms 面板作为幻灯片?

c# - 当GenerateIfNotExistsCondition用于目标时,为什么StartCopyAsync()会抛出409冲突?

c# - Azure Active Directory 访问错误

routes - NuGet 服务器 - 私有(private)存储库 - 动态更改 nuget 包位置

visual-studio - 具有调试和发布功能的 Nuget 包

visual-studio-2012 - Visual Studio 2012 - 如何将文件链接添加到同一项目中的文件