As you can read on the posts below, I was able to create an offline copy of the entire http://nuget.org/ gallery (as of the 4th of May)
A personal blog about: transforming Web Application Security into an 'Application Visibility' engine, the OWASP O2 Platform, Application/Data interoperability and a lot more
Showing posts with label NuGet. Show all posts
Showing posts with label NuGet. Show all posts
Tuesday, 21 May 2013
Downloading the entire NuGet package database
When I was having the serialization problems described in Saving the entire list of NuGet Packages I realized that adding a NuGet IPackage (retrieved from the GetPackages() method) to a SharePackageRepository will also download actual packages :)
Labels:
NuGet,
O2 Platform
Saving the entire list of NuGet Packages
Following from Retrieving NuGet package programatically using NuGet.exe classes (not command line), here is the script that downloads and saves the raw http responses (from the request used by the NuGet API to get them)
Labels:
NuGet,
O2 Platform
Retrieving NuGet package programatically using NuGet.exe classes (not command line)
Following from Consuming NuGet programmatically outside VisualStudio (downloading the list of packages) , here is how I was able to consume NuGet.exe directly and create a strongly-typed NuGet Packages object
I started by opening up NuGet.exe in ILSpy and see what it’s Main method is doing:
I started by opening up NuGet.exe in ILSpy and see what it’s Main method is doing:
Labels:
NuGet,
O2 Platform
Consuming NuGet programmatically outside VisualStudio (downloading the list of packages)
I wanted to write an O2 Script today that consumed an NuGet package and was annoyed by the fact that there doesn’t seem to be an easy way to just download and consume the dlls directly (i.e. without VisualStudio).
I did a quick search and although it looks like I’m not the only one with this problem, since there isn’t an easy solution out there:
I did a quick search and although it looks like I’m not the only one with this problem, since there isn’t an easy solution out there:
- How to download a Nuget package without nuget.exe or Visual Studio extension? from nuget.org
- Downloading a local NuGet repository with PowerShell
- NuGet Package Explorer
- Install NuGet package programatically
- Nuget.Downloader 1.0.0.6
Labels:
NuGet,
O2 Platform
Subscribe to:
Posts (Atom)