I installed a self hosted Nuget server as described here.
I am using Windows 2008 R2, IIS 7.5 and Nuget 1.7.
From within VS I am able to see my self hosted packages in the package manager window, but when I try to install any of them, I am getting an error "The remote server returned an error: (404) Not Found".
Help anyone?
please make sure in IIS to set the .nupkg extention mime type to application/zip.
See also these discussion for more info: Issue #707, Discussion #246387
I hade to perform 3 actions in order to get this to work finally
1) Some of my packages has the extension ".symbols.nupkg" and I found out that the Nuget server cannot serve those packages only. If I change the extension of the package file from "".symbols.nupkg" to ".nupkg" everything works fine.
2) All the packages has to be placed flat under the packages folder (no sub-folders).
3) The packages folder has to be placed below the website (original location is fine, "~/Packages"). I tried to put it in absolute path "C:\NugetPackages" and it did not work.