This extension provides build and release tasks for packaging and publishing Azure Devops Extensions to the Visual Studio Marketplace. There are also tasks to share and install your extension to your Azure Devops organization or Team Foundation Server.
Learn more about this extension about and install the extension into your Azure DevOps Organisation via the Visual Studio Marketplace.
Azure DevOps
- Package: package an Azure DevOps extension into an extension package (.VSIX) file
- Publish: optionally package and publish an extension (either privately or publicly) to the Visual Studio Marketplace
- Share: share an extension with an Azure DevOps organisation
- Install: install an extension to an Azure DevOps organisation
- Query version: query an extension's version (to make it easy to increment on your next package or publish)
- Wait for validation: waits for the Visual Studio Marketplace validation to come through.
Visual Studio
- Publish: Publish a Visual Studio extension to the Visual Studio Marketplace
When creating a personal access token for use by your pipeline, make sure the token has at least the following scopes for the task(s) you are using:
- Publish:
All accessible organisations
,Marketplace (publish)
- Share:
All accessible organisations
,Marketplace (publish)
- Install:
All accessible organisations
or a specific Organisation,Extensions (read and manage)
,Marketplace (acquire)
- Query Version:
All accessible organisations
,Marketplace (read)
- Is Valid:
All accessible organisations
,Marketplace (read)
- From the root of the repo run
npm run initdev
. This will pull down the necessary modules and TypeScript declare files. - Run
npm run build
to compile the build tasks. - Run
npm run package
to create a .vsix extension package that includes the build tasks.