Viktoras Gurgzdys
Viktoras Gurgzdys

Reputation: 23

Nuget.exe Custom assemblies repository

How can I specify custom repository by running nuget.exe? Makes sense that it could be specified somehow in repositories.config.

Upvotes: 2

Views: 413

Answers (1)

Matt Ward
Matt Ward

Reputation: 47987

NuGet.exe supports a -Source command line option for specifying the package repository to use. If this is not specified then the package repositories defined in the %AppData%\NuGet\NuGet.config file are used.

If you type NuGet.exe help you can view the command line options or alternatively take a look at the online NuGet.exe Command Line Reference for more information.

Upvotes: 3

Related Questions