Publish Visual Studio extension to marketplace.vis

2019-08-06 12:48发布

问题:

I need to publish a Visual Studio extension to VS market place through the TFS CI build pipeline. I found following article on publishing extension to market place using command line, is there any deployment task in TFS which can use for this?

Publish from the command line

回答1:

You can use the Visual Studio Team Services Developer Tools for Build and Release tasks.

Make sure you generate the PAT with teh correct permissions. In order to publish extensions you'll need "Marketplace (Publish)", in order to install/share/query extensions you'll need further permissions. The required permissions are documented in the "Add Service" window.