2016-04-08 19 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