用于Visual Studio更新的Atom XML提要私有库

时间:2016-04-08 14:55:25

标签: c# xml visual-studio feed visual-studio-extensions

我已经为Visual Studio创建了一个私人图库,使用C#Projet生成Atom.xml。下载工作完美,但如果我更新vsix项目的版本,atom.xml visual studio不会显示更新。

更新了Atom.xml:

bower_components

我已经检查过,并且条目ID和vsix与vsix项目的真实ID相对应。 我们在xml中有1.3版本 Visual Studio doesn't show updates 任何的想法 ? 感谢

2 个答案:

答案 0 :(得分:1)

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

<?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显示下载按钮而不是更新按钮,但已安装扩展。 Screenshot Online galery

答案 1 :(得分:0)

我在atom.xml这篇评论中提醒我需要更新的内容:

  <!-- 
  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
  -->
相关问题