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

前端 未结 3 1014
不思量自难忘°
不思量自难忘° 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:45

    We tried to use an atom.xml in a private gallery for an automatic update. It did not work at all, even after removing the name from the ID in the VSIX tag. We are using a package developed for VS 2015.

    Then, looking more carefully, we realized that the ID of the package class, that is also present in the vsct file, is different from the ID defined in the manifest file: source.extension.vsixmanifest. While the first is a pure GUID the second is a concatenation of the name, producer and another GUID. Something like: MyVSIX.MyCompany.GUID (in form of xxxxxxxx-xxxx...)

    When we used the second one, everything worked perfectly. We even managed to update packages that were previously installed by double-clicking the vsix file.

    I want to thank you as this article was a very good start to solve our problem.

    All the best, Dan Vasilescu

提交回复
热议问题