Home

xavierdecoster edited this page Mar 16, 2013 · 5 revisions
Clone this wiki locally

NuGet Feed Discovery Clients

DiscoverPackageSources cmdlet

Installation

The DiscoverPackageSources NuGet package adds a new PowerShell cmdlet to your NuGet Package Manager Console in Visual Studio.

Install-Package DiscoverPackageSources

Usage

Simply run the Discover-PackageSources cmdlet and discover the NuGet feeds on the target URL. The example below will discover all public feeds hosted in the MyGet Gallery.

Discover-PackageSources -Url "http://www.myget.org/gallery"

NuGet CommandLine Extension (Preview)

Warning: pre-release! Requires NuGet 2.3+

Installation

The following one-liner run from a command prompt will install the extension and make it available anywhere you run nuget.exe on your machine.

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/NFD-ext-draft-install'))"

Usage

The screenshot below shows you how the new discover command allows you to find a set of NuGet feeds on a given NFD endpoint, and adds them to your NuGet.config file as package sources.

Usage