Search code examples
teamcitynuget-server

TeamCity NuGet Package Restore Failing After Upgrade to 10.x


Been getting the old NuGet Installer Failed error after upgrading to TeamCity 10.x.

The Build Server is on a local VM and the NuGet Server is on another VM on RackSpace. I can authenticate using the feed and the credentials, and the package is created and exists. I can update the package manually in VS using the same credentials. Just no joy in TeamCity build.

[restore] Unable to find version '1.1.0.16' of package 'Velociraptor'.
[23:00:39][restore] Process exited with code 1
[23:00:39][Step 1/4] Step NuGet Installer failed

This was working prior to the upgrade from 9.1.7 to 10.x

I've looked at the other answers but none have worked so far.

What am I missing?


Solution

  • I haven't moved up to 10.x yet, but expect that maybe the default version of NuGet.exe has changed.

    If your NuGet server supports a pinned version of the NuGet.exe client then it might be worth trying with an earlier versions of the client. This can be changed in the Administration section.

    Hope this helps.