-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update issues - A value for 'Component' needs to be specified in the catalog #1295
Comments
Hi @JohanPetersson, this was a known issue with VS but from what I understand it should have been fixed in 15.4. @Michael-Eng is this correct? In the meantime, could you try the solution at #1206 (comment) and see if that works for you? |
That solution didn't work. Got the same error message, more or less, when running the uninstall command.
Seems like toddhd had the same issue when trying to uninstall the extension. |
Could you try this alternate (more complex) solution? #1206 (comment) |
@JohanPetersson, could you run http://aka.ms/vscollect and upload the logs somewhere for us to take a look? I suspect it's a known race condition issue when VS Install and VSIXInstaller are run around the same time, and VS Install is overwriting what VSIXInstaller did. But we would need the full logs to confirm. |
Same issue on my machine. Accordingly when I try to deinstall or update it wants to remove a nonexisting extension. Install log: And that fails of course. Any ideas? Where is the version number stored? |
@JohanPetersson and @helmut-steiner - did trying what @grokys suggested help?
|
Finally fixed it. Doing all the steps in the suggested solution made the problem worse (i.e. I couldn't even start VS any more). So I tried just step 3 of the solution and voila it works again. |
The solution in #1206 fixed my problem. Thx |
Thank you both for letting us know. We will be working on a better solution to this, but it's good to know what works well in the meantime! :) |
I also tried the same solution as @helmut-steiner, i.e. just deleting the extension directories containing GitHub. I then got a warning when launching VS but I was able to re-install latest version of the extension now. Hopefully next update will work as well :) |
Thanks for updating us @JohanPetersson, glad you solved the problem. I saw there were quite a few updates to the installer in VS15.5 that came out yesterday, hopefully this will become less of a problem. |
I had the same problem with update with community 2019. Version 16.4.6 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\GitHub Then I also deleted that GitHub leaf of that path. |
One more step is required because the Visual Studio startup still tries to load the deleted DLL (and the reference to it does not come from 2022\Community),
https://stackoverflow.com/questions/36734419/my-vs-package-did-not-load-correctly I ran the above from the Visual Studio's Native Tools Command Prompt started as Administrator. This cured the message in ActivityLog.xml,
|
I've been trying to update the extension for a couple of months now but run into the same issue. I thought it was temporary and would be fixed by next version, either next version of the extension or Visual Studio, but it hasn't been resolved. The error message says 'A value for 'Component' needs to be specified in the catalog.' Please see attached log VSIXInstaller.log
The text was updated successfully, but these errors were encountered: