Reputation: 198
I have built an extension for Azure DevOps following this tutorial:
https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=vsts
Then I upload it to Azure DevOps and share it only with my organization.
The problem is that when I open a build definition and click to add more tasks, the icon for my extension is missing:
I have followed the suggestions in the post below but nothing worked:
Why TFS Build Step Extension Icon Is Missing?
Does anyone have a suggestion?
Thanks,
Upvotes: 4
Views: 1905
Reputation: 56
You need to provide two files with icons, first one in your root folder and second one in the task folder. Also you should remember that icon should be 128x128 px or larger. Here you could see the example of your extension's folder structure:
taskFolder
Upvotes: 2
Reputation: 717
The tutorial does not mention that there also needs to be an icon named icon.png
in the same folder as the task.json
file. Also make sure the icon is 32 x 32 px. There is some documentation here: Reference for integrating custom build tasks into extensions
Upvotes: 1