Update Private Gallery atom such that VS shows that an extension update is available

前端 未结 3 1003
不思量自难忘°
不思量自难忘° 2021-02-02 14:20

I\'m using a Visual Studio Private Gallery to publish a VSIX internal to my company. My VSIX shows up in the \"Online\" section of \"Extensions and Updates\" in Visual Studio 20

3条回答
  •  天命终不由人
    2021-02-02 14:57

    I had the same Issue and made some deep investigation. In my case it was odd, that my extension always shown as "Download" in the Private Gallery instead as "Installed" (the Green Hook). So I guessed there is a missing Link between the Gallery item and the installed Item

    The answer is as simple as annoying:

    The ID has to be "THE ID". So the Product ID (in the VSIX Configuration) is the reference which has to be in the Atom-File.

    In Your case:

    
        b242c6de-d0a6-4ba1-9672-b866e36607d3
    
    

    As you see: Withyout your "MyVSIX..". After that it will recognize your Extension and if installed also hide the "Download" Button within the Gallery

    For Update:

    It's enough if you increase the < Version > Content.

    For The Update Cycle (my experience):

    • It checks on start of the Visual Studio (once Daily, if in Option enabled)
    • It checks every time you open the "Extensions and Updates". So reopen after a save of the XML should be enough.

    EDIT: (thanks for the Upvote)

    Here the Pictures for better understaning (made in VS2013, but almost same for VS2012)

    The ID in the VSIX File. VSIX ProductID

    How it should look like in the Atom-Feedfile.

    
        d4d50729-a612-4260-9b2e-3a61ad5e2207
       
    

    How it should look if you correctly linked between Gallery and VSIX File. Gallery Linking

提交回复
热议问题