Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the url of a .nupkg file?

I want to download some .nupkg files using my browser

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

like image 532
Orlando William Avatar asked Dec 21 '11 22:12

Orlando William


1 Answers

The URLs are typically in the format:

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

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/ 
like image 120
Haacked Avatar answered Sep 28 '22 01:09

Haacked