vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Installing package 'C/C++ language components (Windows)' failed

Open iuuniang opened this issue 9 years ago • 2 comments

  • VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:21:47.485Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
cpptools ms-vscode 0.11.4

Steps to Reproduce:

Updating C/C++ dependencies...

Downloading package 'C/C++ language components (Windows)' (4663 KB) .................... Done! Downloading package 'ClangFormat (Windows)' (905 KB) .................... Done! Downloading package 'Visual Studio Windows Debugger' (12081 KB) .................... Done!

Installing package 'C/C++ language components (Windows)' Warning: File 'C:\Users\iuuni.vscode\extensions\ms-vscode.cpptools-0.11.4\bin\Microsoft.VSCode.CPP.Extension.exe' already exists and was not updated. Failed at stage: installPackages Error: invalid local file header signature: 0x16d537e7

Finished

iuuniang avatar Jun 21 '17 12:06 iuuniang

I have same problem. You need reinstall C/C++ and update C/C++ dependencies again by proxy, if you are in China like me.

alexchicn avatar Jun 23 '17 04:06 alexchicn

"C:\Users<username>.vscode\extensions\ms-vscode.cpptools-0.11.4\package.json"

Open the file, and then find the corresponding project download link, manually extract.

iuuniang avatar Jun 23 '17 08:06 iuuniang