I have a nuget 1.6 server running our own package source as per the documentation. The server is running on IIS6 over SSL with AD domain authentication.
Everything is working fine from the NuGet package manager or when viewing packages in a web browser, however I am running into problems with nuget.exe. I am doing this using the new package restore feature.
If I try nuget.exe sources it shows our package source as enabled with the same URL that is working in the package manager and browser.
If I try nuget.exe list it prompts for credentials to authenticate, but never accepts them. I have tried both
domain\user and user with no luck.
If I try a MSBuild from a clean checkout, I can see it's not specifying the source or passing or requesting credentials:
RestorePackages: "D:\foo\.nuget\nuget.exe" install "D: \foo\bar\packages.config" -source "" -o "D:\foo\bar\packages" Please provide credentials for: https://foo.bar.com/nuget.server/nuget
EXEC : warning : Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
Before I raise an issue, is there something basic I'm missing in how to set this up? nuget.exe version is 1.6.21205.9031.
Do I need to save my (hopefully encrypted) credentials somewhere? I couldn't see anything in the docs about specifying -Username or -Password options. Note that our goal is to have package restore baked into our release process on our build server, which
is authenticated through a domain service account. Hopefully that's doable.
Thanks in advance for any help,