用于.NET Core的NuGet服务器 [英] NuGet Server for .NET Core

查看:376
本文介绍了用于.NET Core的NuGet服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

NuGet.Server 包用于创建ASP.NET MVC NuGet服务器,它工作得很好.还有另一个软件包 NuGet.Server.Core 有望执行相同的操作托管在ASP.NET Core(也许是1.0或1.1?)中.

The NuGet.Server package is used to create a ASP.NET MVC NuGet server and it works just fine. There is another package NuGet.Server.Core that is expected to do the same when hosted within a ASP.NET Core (perhaps 1.0 or 1.1?).

第一个在用作软件包存储库的主文件夹下创建"Packages"文件夹.
安装Core版本后,不会发生任何此类事情.我尝试了root和专用文件夹.谷歌搜索了一下,我没有找到有关安装该程序包并将其集成到ASP.NET Core应用程序中的信息.

The first one creates 'Packages' folder right beneath the main folder used as a package repository.
No such things happens after installing the Core version. I tried both root and a dedicated folder. Googling a bit, I found no info about installing the package and integrating it in a ASP.NET Core app.

有人成功安装了Core版本吗?另外,还有另一个版本 NuGet.Server.V2 取决于NuGet.Server .Core,但是它需要.NET Framework 4.6.1.这使我认为 NuGet.Server.Core根本不是针对.NET Core .

Has anyone succeeded in installing the Core version? Also, there's another version NuGet.Server.V2 which depends on NuGet.Server.Core, however it requires .NET Framework 4.6.1. This makes me think that NuGet.Server.Core is not targetting .NET Core at all.

如果是这样,我想这个名字一定有点误导...

If so, the name must be somewhat misleading, I guess...

推荐答案

是的,这就是答案:

没有任何.NET Core!只是.NET Framework 4.6.1.这不是一个重大发现,而是警告,对于像我一样(并且更重要的是,将会成为!)被软件包名称中的"Core"误导的所有开发人员.

No .NET Core whatsoever! Just .NET Framework 4.6.1. Not a big discovery but a warning to all devs who, like me, were (and, more importantly, will be!) misled by 'Core' in the package's name.

这篇关于用于.NET Core的NuGet服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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