Search code examples
teamcityteamcity-9.0nuget-server

NuGet Package List Empty on TeamCity NuGet Server


I've set up TeamCity (9.1.6) to work as a NuGet server. I have a project that I added a NuGet Pack build step. The artifacts of that build configuration are *.nupkg files.

However, when I view either the authenticated or the guest NuGet feed, the package list is empty.

I've reset the buildMetadata cache and even restarted the build server.

What am I missing?

Edit: here's what the artifacts looks like for my project:

enter image description here


Solution

  • If the .nupkg isn't showing as an artifact then it won't be in the feed. Without knowing the output directory settings, I can't tell you the correct value for the build artifact path. However, the simplest option is to ensure the checkbox is ticked that forces packages to be published as build artifacts.

    enter image description here

    Hope this helps