Release/Deploy the same Project but vary the nuget feed


How would I go about being able to vary the nuget feed used for a project without actually modifying the projects settings?

I’m using some local powershell scripts to run octo.exe to publish development builds to my local dev machine, but I want to be able to publish UAT/PROD builds the same way to my own machine but with using the TeamCity nuget feed rather than just my local directory-based feed.

Hope that makes sense


Hi Tom,

We’ve added support for this in the 2.3 release. You can see an example here:

(Scroll down to “Custom expressions in package ID’s and feeds”)