NuGet Installer not working

I receive the following error in NuGet Install build step when setting sources to TeamCity's NuGet server:

Step 1/4: NuGet install (NuGet Installer) (3s)
[15:11:19][Step 1/4] scan: Searching for nuget.config files
[15:11:19][Step 1/4] install: Installing NuGet packages for packages.config (3s)
[15:11:19][install] NuGet command: C:\TeamCity\buildAgent\tools\NuGet.CommandLine.2.2.0.nupkg\tools\NuGet.exe install C:\TeamCity\buildAgent\work\a4b9de5be22a981\packages.config -OutputDirectory C:\TeamCity\buildAgent\work\a4b9de5be22a981\packages -Source http://localhost:9090/guestAuth/app/nuget/v1/FeedService.svc
[15:11:19][install] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script96367186180319830.cmd
[15:11:19][install] in directory: C:\TeamCity\buildAgent\work\a4b9de5be22a981
[15:11:22][install] The remote server returned an error: (404) Not Found.
[15:11:22][install] Process exited with code 1
[15:11:22][Step 1/4] Step NuGet install (NuGet Installer) failed

If I leave sources field blank, it will find the NuGet packages from the default feed (NuGet community feed) but not the ones that are built and packaged locally and hosted within TC's NuGet feed.

How do you use both the default feed and the internal TC's NuGet feed within the NuGet installer build step?

Comment actions Permalink

Right, apparently this forum is far from being current but I find my solution here

It suggest ditching the NuGet Install build step because it doesn't support multiple sources which is really unfortunate.

It seems to me that NuGet support in TeamCity is halfway done..

Comment actions Permalink

You need to specify two urls for it, i.e.


The first one will be substituted to TeamCIty's NuGet feed URL and the seconds one is NuGet community feed.

Please sign in to leave a comment.