vscode
vscode copied to clipboard
Can't install linux-x64 extension on WSL
Type: Bug
I have an extension on different platforms (linux-x64 and universal), but when using VSCode connecting to WSL, it installs the universal one instead of the linux-x64 one.
Here's my extension for test adminalexwang2048.helloworld-sample-adminalexwang2048
I tried different versions with VSCode stable and insider builds, the results look weird. My extension has:
- 0.0.2 (stable) - linux-x64
- 0.0.2 (stable) - universal
- 0.0.3 (pre-release) - linux-x64
- 0.0.3 (pre-release) - universal
And when installing in VSCode / Insiders, the behaviors are:
- Use VSCode stable (1.100.2) connecting to WSL, install 0.0.2 (stable), it actually installs 0.0.2 (stable) - universal
- Use VSCode stable (1.100.2) connecting to WSL, install 0.0.3 (pre-release), it actually installs 0.0.3 (pre-release) - linux-x64
- Use VSCode insiders (1.101.0-insider) connecting to WSL, install 0.0.2 (stable), it actually installs 0.0.2 (stable) - universal
- Use VSCode insiders (1.101.0-insider) connecting to WSL, install 0.0.3 (pre-release), it actually installs 0.0.3 (pre-release) - universal
I expect it should always install the linux-x64 VSIX.
VS Code version: Code - Insiders 1.101.0-insider (496ebc4723371f29c9ffa0319dcccb2d7bee7ee0, 2025-05-21T05:04:29.987Z) OS version: Windows_NT x64 10.0.22631 Modes: Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
System Info
| Item | Value |
|---|---|
| CPUs | 13th Gen Intel(R) Core(TM) i7-1370P (20 x 2189) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.66GB (13.78GB free) |
| Process Argv | --crash-reporter-id 359eadc8-aee9-434b-885f-83bd12c744b3 |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu-22.04 |
| OS | Linux x64 5.15.167.4-microsoft-standard-WSL2 |
| CPUs | 13th Gen Intel(R) Core(TM) i7-1370P (20 x 0) |
| Memory (System) | 15.45GB (13.48GB free) |
| VM | 0% |