用于Visual Studio更新的Atom XML feed专用库 [英] Atom XML feed private gallery for Visual Studio Updates

查看:100
本文介绍了用于Visual Studio更新的Atom XML feed专用库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用C#Projet生成了Atom.xml,从而为Visual Studio创建了一个私人画廊.下载工作正常,但是如果我更新了vsix项目的版本,而atom.xml视觉工作室不显示更新.

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.

Atom.xml已更新:

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>

我已经检查过,条目和vsix的ID与vsix项目的真实ID相对应. 我们在xml中有1.3版 Visual Studio不显示更新 任何的想法 ? 谢谢

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 Visual Studio doesn't show updates Any idea ? Thanks

推荐答案

我也在两个标签中都添加了相同的值:

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>

但是它不起作用. 第二点:Visual Studio显示的是下载按钮,而不是更新按钮,但是扩展名已经安装. 在线相册截图

but it doesn't works. Second point : Visual studio shows the download button and not the update button, but the extension is already installed. Screenshot Online galery

这篇关于用于Visual Studio更新的Atom XML feed专用库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆