microsoft / vsts-extension-samples

Sample extensions for Visual Studio Team Services
https://docs.microsoft.com/vsts/extend/
MIT License
298 stars 290 forks source link

fabrikam-build-extension #61

Open karoldeland opened 7 years ago

karoldeland commented 7 years ago

Hi, just tried to use the sample fabrikam-build-extension in TFS 2017 and on VSTS, but I'm not able to see the build Template. Is it supposed to work on prem and on VSTS?

ynijs commented 7 years ago

Any update on this bug?

yaananth commented 7 years ago

I have updated the sample extension to use diffferent Guid's for tasks, I have verified that I could install the same extension on my VSTS account and it did show up. image

Once you publish the extension, make sure you install it as well (installing is different that publishing extension).

If there are any failures reported in each of those steps, let us know.

Please note that we look for template json with file name template.json. So your json should have the same name.

yaananth commented 7 years ago

Also.. If you don't have template.json in your extension, it would fail to publish. image

@ynijs confirmed that changing name to template.json worked.

I think we can close this issue.