Closed cquick01 closed 1 year ago
Thanks for raising this issue! I arrived here via #8642 and likewise a WSL shutdown didn't help — reverting to 0.79.5 did.
I have a local fix you can do in the extension code itself, I think someone forgot to return here. It's all obfuscated code so unsure what some of this does exactly. The local fix will have to be applied after every update to the extension
This appears to be fixed in v0.80.2. Thanks. (https://github.com/microsoft/vscode-remote-wsl/pull/150)
WSL Extension v0.80.0 appears to break connection with WSL. I was working (connected to WSL from Windows) then all of a sudden VSCode froze and when attempting to reopen, a message popped up saying "Windows Subsystem for Linux not detected. The WSL extension requires Windows 10 with the Windows Subsystem for Linux feature installed.". I was already connected when it crashed, and WSL still works fine outside of VSCode.
Reverting back to WSL v0.79.5 gets things working again. Updating back to v0.80.0 causes it to fail. Rebooting does not help (which would have restarted WSL, per #8642). Edit: for completeness, also tried running
wsl --shutdown
as recommended in that issue, and restarting the WSL instance. Still fails with v0.80.0wsl --version
:AppData/Roaming/Code - Insiders/logs/20230626T160143/window2/renderer.log
But of course WSL is installed and actively running.
Can't really find anything else other than the error message: "Windows Subsystem for Linux not detected. The WSL extension requires Windows 10 with the Windows Subsystem for Linux feature installed."
Steps to Reproduce:
Does this issue occur when you try this locally?: N/A Does this issue occur when you try this locally and all extensions are disabled?: N/A
Happy to provide more info if requested. Thanks!