2016-04-08 23 views
0

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

的使用atom.xml更新:

<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与VSIX项目的真实身份识别码对应的ID。 我们有1.3版本的xml Visual Studio doesn't show updates 任何想法? 感谢

+0

什么版本的应用程序?你可以添加扩展和更新窗口的图片吗?我想看看你的扩展:1。 '已安装',2.在线(在您的图库中)和3.更新。 –

回答

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 
    --> 
+0

我贴出了所有这些字段,但它不起作用。 VS不显示任何更新 –

+0

我在两个标签中使用相同的更新值,也许这是一个问题? – EliSherer

+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