I installed the internal NuGet server to make sure that only approved versions of packages are deployed in our solutions, but I am confused about why I cannot download a specific package.
First I check if the package exists on the NuGet server:
PM> Get-Package -Filter data -ListAvailable
Id Version Description/Release Notes
Then I will try to download the package
PM> Install-Package DataMatrix.Net The source at My NuGet Server [http://url.to.nuget/nuget] is unreachable. Falling back to NuGet Local Cache at ...
I see it doing a search:
2014-08-27 13:10:01 172.16.1.123 GET /nuget/Search() $orderby=Id&$filter=IsLatestVersion&$skip=0&$top=30&searchTerm='data'&targetFramework=''&includePrerelease=false 80 - 10.1.10.100 NuGet+VS+PowerShell+Console/2.8.50313.46+(Microsoft+Windows+NT+6.1.7601+Service+Pack+1,+VS+Professional/12.0) 200 0 0 46
Yesterday I installed the package from this server without any problems:
2014-08-26 16:27:15 172.16.1.123 GET /api/v2/package/pdfsharp.htmlrender/1.0.0 - 80 - 10.1.10.100 NuGet+VS+PowerShell+Console/2.8.50313.46+(Microsoft+Windows+NT+6.1.7601+Service+Pack+1,+VS+Professional/12.0) 200 0 0 59
I also tried navigating to the package url ( http: //nuget.server.url/api/v2/package/DataMatrix.Net/0.4.2 ) and this works fine.
Any ideas?
source share