Istvan Novak
Istvan Novak

Reputation: 13

Can I publish a VS Code Extension to the VS Code Marketplace if the source code of the extension is in a private Github repo?

A customer of mine wants to publish their first VS Code extension. Right now, they use a private repo. Neither they nor I managed to find VS Code publishing policy information that addresses whether they can use their private repo or use a public one.

Could anyone point out an answer to this question?

Upvotes: 1

Views: 563

Answers (2)

Mike Lischke
Mike Lischke

Reputation: 53317

Once the extension is packed all code is in it, so it is not necessary to have a public Github repo (or any repo at all). Simply don't specify the repository key in your package.json file.

Upvotes: 1

Lex Li
Lex Li

Reputation: 63143

  1. Use vsce package to generate the VSIX file.
  2. Register a Marketplace account and upload the VSIX file from the web portal.

Upvotes: 1

Related Questions