I'm following this tutorial . Everything seems to be fine (linux subsystem is setup fine, I think), but WSL is not showing up as a platform toolset for compilation for C/C++ projects.
Using visual studio 16.9.5
You can check these steps, which can make me find windows subsystem for linux in visual studio:
Enable subsystem:
Enable windows subsystem for windows
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Restart machine
download and install linux app
Configure linux environment:
sudo apt-get update
sudo apt install g++ gdb make rsync zip
sudo apt-get install openssh-client
sudo apt-get install nano
sudo service ssh restart
Configure visual studio:
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.