Visual Studio Marketplace Publishing

Publish Visual Studio extensions from GitHub Actions or Azure Pipelines, with federated authentication.

View repository

Publishing a Visual Studio extension shouldn't require a separate manual release process. Visual Studio Marketplace Publishing brings that last step into the pipeline you already use to build your extension.

The project provides a GitHub Action and an Azure Pipelines task for publishing a .vsix to the Visual Studio Marketplace. Give it your package, publish manifest and publisher ID, and it runs Microsoft's VsixPublisher.exe as part of your release.

Fit publishing into your workflow

For CI/CD, use short-lived federated credentials instead of storing a long-lived secret: the GitHub Action supports OIDC, and the Azure Pipelines task supports workload identity and Azure Resource Manager service connections. A personal access token is an option for quick testing or when federation isn't available. You can also specify validation warnings to ignore where needed.

This project is for Visual Studio extensions. If you're packaging and managing Azure DevOps extensions, take a look at Azdo Marketplace Action & Tasks instead.

Getting started

You'll need a Windows agent with the Visual Studio SDK and VsixPublisher.exe, a VSIX, a publish manifest and a publisher with appropriate permissions. Start with the repository examples and configure the authentication method that fits your pipeline.

GitHub - jessehouwing/vs-marketplace: CI/CD for Visual Studio Extensions
CI/CD for Visual Studio Extensions. Contribute to jessehouwing/vs-marketplace development by creating an account on GitHub.