57023

Atom XML feed private gallery for Visual Studio Updates

Question:

I've created a private gallery for Visual Studio, using a C# Projet to generate the Atom.xml. The download works perfectly but if i update the version of the vsix project, and the atom.xml visual studio doesn't show update.

the Atom.xml updated :

<1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text" /> <id>uuid:bcecded5-97c8-4d24-96f1-7d9e16652433;id=1</id> <updated>2016-04-08T00:00:00+02:00</updated> <entry> <id>e2dea93f-86f3-45ce-b7be-290e21066050</id> <title type="text">ItemTemplatesGenerator</title> <summary type="text">It's a class generator to create structure of redondant classes.</summary> <published>2016-02-26T16:06:22.1655958+01:00</published> <updated>2016-04-08T16:34:01.4822941+02:00</updated> <author> <name>NameCompany</name> </author> <category term="Files Generation" /> <content type="application/octet-stream" src="D:\Galerie_VS\ItemTemplatesProject\ItemTemplatesProject.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>e2dea93f-86f3-45ce-b7be-290e21066050</id> <Version>1.3</Version> <References /> <Rating xsi:nil="true" /> <RatingCount xsi:nil="true" /> <DownloadCount xsi:nil="true" /> </Vsix> </entry> </feed>

I've checked and the id of entry and vsix correspond with the real id of the vsix project. We have the version 1.3 in the xml <a href="http://i.stack.imgur.com/31R3a.png" rel="nofollow">Visual Studio doesn't show updates</a> Any idea ? Thanks

Answer1:

I put same value in both tags too :

<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text" /> <id>uuid:bcecded5-97c8-4d24-96f1-7d9e16652433;id=1</id> <updated>2016-06-21T00:00:00+02:00</updated> <entry> <id>e2dea93f-86f3-45ce-b7be-290e21066050</id> <title type="text">ItemTemplatesGenerator</title> <summary type="text">It's a class generator to create structure of redondant classes. Use to create classes faster.</summary> <published>1601-01-01T01:00:00+01:00</published> <updated>2016-06-21T00:00:00+02:00</updated> <author> <name>Compagny name</name> </author> <category term="Files Generation" /> <content type="application/octet-stream" src=".\ItemTemplatesProject\ItemTemplatesProject.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>e2dea93f-86f3-45ce-b7be-290e21066050</id> <Version>1.2</Version> <References /> <Rating xsi:nil="true" /> <RatingCount xsi:nil="true" /> <DownloadCount xsi:nil="true" /> </Vsix> </entry> </feed>

but it doesn't works. Second point : Visual studio shows the download button and not the update button, but the extension is already installed. <a href="http://i.stack.imgur.com/H6lhT.png" rel="nofollow">Screenshot Online galery</a>

Answer2:

I have in my atom.xml this comment to remind me what I need to update:

<!-- When deploying change <updated> under <feed> <updated> under <entry> <Version> under <Vsix> == be sure to change the version in the source.extension.manifest file in the project -->

Recommend

  • Understand Google Play Developer Console's Crash Logs with Titanium
  • “This app could not be installed at this time” CFBundleIdentifier error
  • Trouble with Facebook multi-level json php foreach loop
  • Date conversion in nodejs and postgres
  • hiding rows in excel based on words in a cell
  • CKAN ERROR preview CSV , but OK for Download
  • Excel 2010 search for text in IF function - separate cell data
  • Get all root sites listed in share point Admin center using graph api beta
  • Why do the numeric format strings in C# round the number when not using decimals (F0)?
  • CloudSearch - Return results when a field does not exist
  • How to get a list of all blobs in a repository in Git
  • Use double quote then curly brace in powershell -Command
  • Java : Simple XML not parsing the xml. Gives Exception
  • Unix Network Programming Clarification
  • How to create a new Bundle object?
  • Separate ID and Class for JS and CSS
  • Feature detection of foreignObject in SVG
  • XSD with multi occurrences unordered
  • Any nice way to generate a timeline view of commits from subversion?
  • Sybase Error Implicit Conversion from datatype 'VARCHAR' to 'INT' not allowed
  • iOS Cordova first plugin - plugin.xml to inject a feature
  • Django model for a Postgres view
  • How to retrieve information from antrun back to maven?
  • Do query loads all the data in memory
  • aapt.exe'' finished with non-zero exit value 1
  • Salesforce Different WSDL files and when to use
  • AndEngine Applying Transparancy to AndEngine View
  • Automatically associate new Sonar project with custom quality profile and quality gate
  • Insert new calendar with SyncAdapter- Calendar API Android
  • Jetty 9 HashLoginService
  • Installing Apache MyFaces 2 on WildFly 8.2.0
  • Read a local file using javascript
  • ImageMagick, replace semi-transparent white with opaque white
  • Cannot connect to cassandra from Spark
  • Display issues when we change from one jquery mobile page to another in firefox
  • Cross-Platform Protobuf Serialization
  • To display the title for the current loaction in map in iphone
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • What do the 'size' numbers mean in the windbg !heap output?
  • trying to dynamically update Highchart column chart but series undefined