3
votes

I've been trying to add a package badge to my Readme.md file in my code repository, something like this:

enter image description here

I've been following this article: https://docs.microsoft.com/en-gb/azure/devops/artifacts/vsts-package-badges?view=vsts

I'm using the latest version of VSTS and don't seem to have the "Create Badge" option, see screen shot below:

enter image description here

I'm accessing my packages using this url in VSTS:

https://.visualstudio.com/Platform/_packaging

How do I enable the package badge for my internal nuget feeds in this version of VSTS?

Thanks!

1
Did you try to go back to old navigation menu and add the badge from there?Shayki Abramczyk
I did - still can't see it! Are you thinking it might be permissions?Rob McCabe
Ah, I hadn't enabled the "Enable package badges" function in setting, that's it working now! Doh! :)Rob McCabe
Great :) also in the new navigation menu?Shayki Abramczyk
It was indeed - will add a screen shot nowRob McCabe

1 Answers

2
votes

The setting for package badges needed to be enabled, see below:

enter image description here

Click the "Settings" cog on your feed page (https://[projectname].visualstudio.com/[projectname]/_packaging page).