This project has moved. For the latest updates, please go here.

Private NuGet servers


Can you consider adding support for asking the user where they'd like to publish their package? We'd like to publish to an internal private NuGet server but don't know exactly how to do this without changing the New-NuGetPackage.ps1 file.

Ideally we'd like to either be prompted to select a server from a dropdown (where we may also add servers) or see multiple "RunMe" cmd files, one per target server.

Then we can easily build and publish at any time without any awkward editing of files and also easily and clearly see where we're publishing too.

Any support for this would be cool (as would eliminating the need for any .cmd files and doing everything from VS).



deadlydog wrote Jan 23 at 2:38 AM

You can provide a different source to publish to in the New-NugetPackage.ps1's -PushOptions parameter. If you are using the CreateNewNuGetPackageFromProjectAfterEachBuild NuGet package in Visual Studio, simply put the address in the "Config.ps1" file's $SourceToUploadTo variable.

Hopefully that is enough to satisfy your needs?