nuget.exe won't work with custom repositories

Topics: General
Jul 3, 2012 at 5:33 PM
Edited Jul 3, 2012 at 7:06 PM

Hello.

I have my custom repository (on http Nuget.Server). I'm using nuget.exe to restore packages. Nuget.exe's version is 2.0.30619.9000.

On my dev machine:

Command: nuget.exe list -source http://nuget.mycompany.org

Response: Invalid URI: The hostname could not be parsed.

What's wrong ?

Jul 3, 2012 at 7:41 PM

Ok. The reason was in that I forget "/nuget" suffix. Correct url for NuGet.Server's repositories http://nuget.mycompany.org/nuget.