简体   繁体   中英

How can I fix ? Remote - WSL will not open on VSCode - Error says `Multi distro not supported'

I downloaded Ubuntu and then downloaded Remote - wsl on VSCode. I followed Ubuntu's prompts to access Remote - wsl extension by typing code. When I type code. VSCode opens but then quickly disconnects. It gives me an error - "Multi distro support requires a newer version of wsl" (windows 10, May 2019 update, version 1903) but I only have one distro (Ubuntu), and Windows 10 is updated. Image of error here:

图片

How can I fix this issue?

I followed this tutorial from Microsoft https://devblogs.microsoft.com/commandline/an-in-depth-tutorial-on-linux-development-on-windows-with-wsl-and-visual-studio-code/

Perform these steps

(1) delete.vscode

Disallow.VSCODE In GitIgnore

(2) add this: .vscode

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM