Visualstudio: GitHub Extension for Visual Studio won't install on VS Code - extension/package.json not found inside zip.

Created on 21 Oct 2019  路  5Comments  路  Source: github/VisualStudio

Versions

  • GitHub Extension for Visual Studio version: 2.10.7.8114

  • Visual Studio Code version: 1.39.2

What happened

Attempting to install the GitHub extension into Visual Studio Code fails with a "extension/package.json not found inside zip." error.

Notes about this issue:

  1. Double-clicking the package does not install it as .vsix files are apparently not registered as VS Code files by Visual Studio Code.
  2. Attempting to install the .vsix file directly from the extensions manager returns the extension/package.json not found inside zip. error

Steps To Reproduce

Steps to reproduce: (from within VS Code)
(This assumes you have downloaded the extension and have saved it somewhere on your local machine)

  1. Open VS Code
  2. Navigate to the extensions manager (a cube of blocks icon on the far left)
  3. Select the three dots, (. . .) in the upper right corner of the extension manager's window
  4. Select "Install from VSIX file" near the bottom of the drop-down menu
  5. Browse to the .vsix file you downloaded and select install.
  6. The "extension/package.json not found inside zip." error is raised in the lower right hand corner of the VS Code window.

Expected behavior

  1. The extension should install.
    -- or --
  2. Something should indicate that this extension is NOT compatible with Visual Studio Code.

Additional Commentary

There doesn't seem to be any indication that the GitHub Extension for Visual Studio extension is incompatible with VS Code. If this true, perhaps this should be made clear both on GitHub and on the download site for the extension.

Thanks!

Most helpful comment

This extension is built for Microsoft Visual Studio, which is the full IDE by Microsoft. Visual Studio Code is an open source text-editor also made by Microsoft. Extensions built for Visual Studio will not work for Visual Studio Code or vice versa.
It is easy to confuse these two, since Microsoft used the same logo (different colours) and nearly the same names for each application.
Please see this StackOverflow query for more information.

All 5 comments

Seeing same issue on VSCode 1.40.2 on Ubuntu. Will try on W10 and see if it happens there as well

I tried it on Version: 1.41.1 on windows 10 (OS: Windows_NT x64 10.0.18362) and I had the same problem.

Also on 1.41.1 on Windows 10 with the same issue.

This extension is built for Microsoft Visual Studio, which is the full IDE by Microsoft. Visual Studio Code is an open source text-editor also made by Microsoft. Extensions built for Visual Studio will not work for Visual Studio Code or vice versa.
It is easy to confuse these two, since Microsoft used the same logo (different colours) and nearly the same names for each application.
Please see this StackOverflow query for more information.

Thanks for letting them know @mavaddat! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

awbushnell picture awbushnell  路  7Comments

AmbroiseCouissin picture AmbroiseCouissin  路  10Comments

grokys picture grokys  路  6Comments

jcansdale picture jcansdale  路  10Comments

grokys picture grokys  路  7Comments