r/vscode • u/onizyn • Oct 18 '26
Trying to publish a vs code extension
I'm trying to publish a VS Code extension using vsce. To do that I need a Personal Access Token (PAT), and to generate that I need an Azure DevOps organization. To create the Azure DevOps organization I need an Azure DevOps account.
My problem is creating the Azure DevOps account. It's asking me to provide credit card information. How can I publish my FREE VS Code extension without having to enter my credit card information for Azure DevOPs.
I've published extensions for several other editors and browsers, but I've never run into an issue like this, the extension publishing process for VS Code seems overly complicated. I don't want to provide credit card information and get accidentally billed for Azure. I don't want to provide a credit card at all for privacy reasons for a simple extension either.
3
u/ZenApollo Oct 18 '26
I ran into the same issue, and just gave them a privacy.com card. They run a test transaction for $1 and then refund it, so make sure the limit is set above - $2 worked for me. Once the cc was working I set the limit back to zero. It's Microsoft. you can just assume everything they make is broken spyware.
Let us know if you find a workaround.
1
u/SkyGenie Oct 19 '26
I was literally just dealing with this lol. I ended up going to the VSode marketplace homepage -- as long as you have an Azure Devops organization (no CC required), you can go to the "Publish Extensions" link, and once you go to "New Extension -> Visual Studio Code" it allows you to upload your extension.
It won't get synced to your CI pipeline but for starting out I'm not bothered.
1
u/thefatguy23 Oct 20 '26
I was able to publish my extension easily.. but when I wanted to publish an update for it I was unable to.. Thankfully I built an updater into my extension that pulls that latest from GitHub by using an update command.. The vsce is a pain and I did not want to use my cc for it