The official source of product insight from the Visual Studio Engineering Team
In Visual Studio 2010, we introduced a feature called the Extension Manager – a new dialog that connects to the Microsoft Visual Studio Gallery to help a customer easily select and install extensions to Visual Studio from right inside the IDE.
Since then, enterprise customers have frequently asked us to provide a way for Visual Studio to connect to a customer-managed website that contains a private collection of Visual Studio extensions. Today I’m excited to announce a new feature available in the Developer Preview version of VS that does just that, and offers you the same smooth, simple download, install, and update experience that you’ve seen when connected to the public Visual Studio Gallery.
In the Extension Manager panel of the Tools/Options page, you can now add a URL to the Extension Repositories list that points to the server where your private gallery lives. Visual Studio expects to find an atom feed at this endpoint that describes the extensions available on your gallery.
The next time you open the Extension Manager Online panel, you’ll see your gallery listed after the two public ones (Visual Studio Gallery and Samples Gallery).
Install looks exactly like it does for the public galleries:
On a web server, or on your local or remote file system, create a root directory for your gallery, and add sub-directories for each category in your collection. (In the illustration below, there are two categories: Project X and Project W.)
Place each VSIX file in the folder that corresponds to its category. Then it’s time to create the atom feed.
For this preview version, you’ll create the feed by hand. We’ll make some tools available to automate that process soon. Here is a sample feed, with the element values you’ll need to edit highlighted:
<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text"></title> <id>uuid:874a62b3-c36c-4443-aeb9-498e4c6e589d;id=1</id> <updated>2011-09-02T01:58:50Z</updated> <entry> <id>MessageInspector.Acme Corp..6b64a54c-93b9-4f0c-a962-71ba1c23c1d8</id> <title type="text">MessageInspector</title> <summary type="text">Visualizes message exchanges for Project W</summary> <published>2011-09-01T18:51:00-07:00</published> <updated>2011-09-01T18:57:18-07:00</updated> <author> <name>Acme Corp.</name> </author> <category term="ProjectW Tools" /> <content type="application/octet-stream" src="ProjectW Tools/MessageInspector.vsix" /> <Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010"> <Id>MessageInspector.Acme Corp..6b64a54c-93b9-4f0c-a962-71ba1c23c1d8</Id> <Version>1.0</Version> <References /> </Vsix> </entry> <entry> <id>DataWarehousingTools.Acme Corp..496be56f-595e-4a50-b02f-5d3da630b7b6</id> <title type="text">DataWarehousingTools</title> <summary type="text">Data warehousing tools for Project X. (Internal use only.)</summary> <published>2011-09-01T18:51:28-07:00</published> <updated>2011-09-01T18:57:27-07:00</updated> <author> <name>Acme Corp.</name> </author> <category term="ProjectX Tools" /> <content type="application/octet-stream" src="ProjectX Tools/DataWarehousingTools.vsix" /> <Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010"> <Id>DataWarehousingTools.Acme Corp..496be56f-595e-4a50-b02f-5d3da630b7b6</Id> <Version>1.0</Version> <References /> </Vsix> </entry> </feed>
Values highlighted in yellow are taken right from the VSIX Manifest. Those highlighted in green describe how they appear in your gallery:
To publish an update, all you need to do is replace the old VSIX file with the new one, and put the Version value from the new VSIX manifest in the corresponding <Version> element in the feed.
<Id>DataWarehousingTools.Acme Corp..496be56f-595e-4a50-b02f-5d3da630b7b6</Id> <Version>1.1</Version>
Then when your users open Extension Manager they’ll see the new version in the Update panel.
I’ll be blogging about tools to automate the feed generation as soon as we can make them available. In the meantime, try out the feature in the Visual Studio 11 Developer Preview and let us know what you think!
Gary Horen Program Manager Visual Studio Platform
Great news, This Ive been waiting for a long time.
I have hovever some small sugestions to make it even better.
1) If I could force an install or update for every user from the private gallery
2) Make tfs have a defult implementation for a private gallery
3) Then connecting to a tfs server, always check/add/import the tfs server as a private gallery
This is great news! Thanks for this feature... Sharing extensions with in the enterprise will be very simple now :-)
@Mattias - The connection to TFS is something we've discussed as a possible future enhancement, and we're anxious to hear from more customers about it. I'd encourage you and others to submit more detailed descriptions of scenarios involving use of private galleries to the Extension forum on the VS UserVoice site (visualstudio.uservoice.com/.../30941-extension).
The forced update scenario is supported by enterprise image and group policy deployment. I'm not sure that the private gallery feature should replicate that. Can you explain why enterprise deployment doesn't fulfill your requirements in this case?
Thanks for your feedback!
@Gary, I will register a scenario on the user site.
Regarding forced deployment vs Enterprise image and group policy deployment: In (most/all?) real life scenarios GPO and other enterprise deployment services is owned by IT Operations, and they struggle to manage the enterprise/all users.
To get something done for a relatively small user group like devs takes too much effort, time and is probably to frequent and small, to handle by IT Operations. The ones who tries to manage the problem the right way tend to #fail due to lack of understanding, knowledge and prio from IT operation.
I would like to be able to quite easily force an install in a couple of days, not 6 months to a year and to an internal cost of $10 000 or more.
Soooo.. What ever happened to this feature? It doesn't seem to be there in the SP1 of VS2010. I can't seem to find where to type in the URL. If it a feature of the more expensive visual studios than Pro?
@Phyx: This feature is available in Visual Studio 2012 Profressional, Premium and Ultimate.
Microsoft Visual Studio Platform IDE Services
@matt ah, thanks, I got my visual studio numbers mixed up, I thought 2010 was 11 and the screenshots here also threw me :)
"We’ll make some tools available to automate that process soon."
Are tools available already?
Still waiting for news about an automated process...
Anything new ?
Ditto about that automated process...
Almost 1 year later since the last one was asking, almost 2 years later since the "announcement":