Vscode-cpptools: Installing package 'C/C++ language components (Windows)' failed

Created on 21 Jun 2017  路  2Comments  路  Source: microsoft/vscode-cpptools

  • 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

Most helpful comment

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

All 2 comments

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

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

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

Was this page helpful?
0 / 5 - 0 ratings