I get a 409 Conflict for my VSO build definition that packages and publishes to a VSO feed.
So each build run is a failure.
However, the package ends up in the feed.
Any clue? Thanks.
The error message you see is usually caused by that the VSO feed already has the package which has the same name and version number as the one your are publishing. But according to the second screenshot, the package is been published during the build process. So I'm wondering if the package is published twice during the process. You need to check your build definition to see if the package is been published twice during the build or there are two build definitions doing the same thing at the same time.
Update: You can set "Automatic package versioning" to "Use the build number" and set "Build number format" to "1.2$(Rev:.r)" so that the nuget package version will be 1.2.* and increase after each build.
I was having this same problem. The solution is to add a step at the start of your build that deletes the old .nupkg files. Super easy...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With