vscode: Incompatible or Mismatched C/C++ Extension Binaries
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
- OS Version:
Steps to Reproduce:
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 30 (16 by maintainers)
Commits related to this issue
- Fix #151921 — committed to microsoft/vscode by sandy081 2 years ago
- Fix #151921 (#154936) — committed to microsoft/vscode by sandy081 2 years ago
- Fix #151921 (#154936) — committed to microsoft/vscode by sandy081 2 years ago
Thanks for the logs and I think I know the root cause of this issue. It seems in your case the extension is being copied from local client (Windows) to remote (WSL) and hence the bits are being incompatible. This happens if VS Code cannot find a matching installed extension in the Marketplace. In this case, VS Code falls back to copy the extension.
Fixed it as follows:
Before using the fallback to copy
This fix does not covers if you have manually installed an extension that does not exist in the Marketplace and is platform specific.