I found this difficult to figure out so I thought I would write something up real quick. I recently created a Visual Studio extension for the team I am currently working with. The extension isn’t generally useful but it is useful for my team, so I didn’t want to deploy it to the public extension gallery. One of the things I wanted to figure out was how to distribute the extension to the people on my team so that they just get automatic updates like every other extension.
It turns out all you have to do is to make the extension available via http then create an ATOM feed for your extensions. I just dropped a static atom.xml file onto a webserver on my backup dev machine and update it manually when I get a new build of the extension and presto! You just give your team the URL and they can configure VS to also look at that URL when searching for extensions.
Here is the structure of the atom XML you need to create in your feed to make it work:
<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text"></title> <id>uuid:7d461a9c-df42-4fc3-bb84-b83c5147e145;id=1</id> <updated>2012-11-06T22:19:45Z</updated> <entry> <id>2bde3d56-7ac0-4d8d-8ae8-794b631b0b27</id> <title type="text">Example Extension</title> <summary type="text">An example of hosting a VS extension for my team.</summary> <published>2012-11-02T10:43:32-05:00</published> <updated>2012-11-06T11:31:29-06:00</updated> <author> <name>Microsoft</name> </author> <content type="application/octet-stream" src="Example.vsix" /> <Vsix xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010"> <Id>2bde3d56-7ac0-4d8d-8ae8-794b631b0b27</Id> <Version>1.2</Version> <References>Visual Studio MPF 11.0\Microsoft.VisualStudio.MPF.11.0\[11.0,);</References> <Rating xsi:nil="true" /> <RatingCount xsi:nil="true" /> <DownloadCount xsi:nil="true" /> </Vsix> </entry> </feed>
Reblogged this on Sutoprise Avenue, A SutoCom Source.