如何获取 .nupkg 文件的 url? [英] How to get the url of a .nupkg file?

查看:50
本文介绍了如何获取 .nupkg 文件的 url?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用浏览器下载一些 .nupkg 文件

I want to download some .nupkg files using my browser

在 nuget.org 中,没有指向 .nupkg 文件的链接

In nuget.org, there are no links to the .nupkg file

推荐答案

URL 通常采用以下格式:

The URLs are typically in the format:

http://nuget.org/api/v2/package/PACKAGE_ID/VERSION

例如,对于 WebActivator:

For example, for WebActivator:

http://nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0.0

如果您只需要最新版本的软件包,请省略版本号:

If you just want the latest version of the package, leave out the version number:

http://nuget.org/api/v2/package/Microsoft.Web.Infrastructure/

这篇关于如何获取 .nupkg 文件的 url?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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