To answer the first question, yes, you can host your VSIX file on your owner server. It doesn’t have to live on the Visual Studio Gallery. Customers who visit your website can download the VSIX file directly. When prompted to Run or Save, they can run the VSIX or save it to disk and double click on it to start the install. Both installation methods will use our out of process installer. During the install of Visual Studio, we register the .VSIX file extension. Anytime the .VSIX file extension launches, our out of process installer will take over and install the extension for you. The look and feel will be a bit different from the main Visual Studio Extension Manager installation experience but it works just as well 🙂
If you’re an extender that can’t host your VSIX file on the Visual Studio Gallery, here are two suggestions to make sure your customers have a good experience with your product.
- Create an entry on the Visual Studio Gallery. You can do this by:
- Click on the Upload button
- Select Tool and click Next
- Select “I would like to share a link to my tool”
- Enter the URL to your website (this can be a direct link to the VSIX or to a landing page for more information)
- Click Test Link to try it out
- Click Next
- Add meta data to your extension
- Click “Create Contribution”
- Click Publish
Once you’ve added the entry, your extension can now also be seen in the Extension Manager UI. When someone tries to download the extension from the Extension Manager or the Visual Studio Gallery, they will be taken to the URL you directed them to.
2. On your server, make sure you register the VSIX mime type. Without this, when customers try download the VSIX file, IE may convert the file extension to .ZIP. For more information on setting the mime types, check out this article or do a search on Bing 🙂
Quan To – Program Manager – Visual Studio Platform