Customizing Nuget Feed

Answered

I have 2 build configurations for the same project. 1 coming from the Development branch, another coming from the Main branch. It seems like the nuget feed just uses the startup project as the feed name, but since I have builds coming from 2 different branches, this causes the versions to cross paths sometimes. 

I was wondering if there was a way to specify the name of the nuget package somehow, this way the two branches have their own nuget feeds.If not, I will likely just keep the Development versions under 1 since those numbers don't matter as much.

1 comment

Hello Danny,

It's not possible to customize NuGet feed in TeamCity. All NuGet packages published as TeamCity build artifacts are indexed and appear in the NuGet feed. You can specify NuGet pack version using branch name parameter %teamcity.build.branch%.

0

Please sign in to leave a comment.