Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using VS2019 with WSL #851

Closed
johne53 opened this issue Aug 21, 2020 · 3 comments
Closed

Using VS2019 with WSL #851

johne53 opened this issue Aug 21, 2020 · 3 comments

Comments

@johne53
Copy link

johne53 commented Aug 21, 2020

Hi there - I seem to have gone half way round the world and still haven't found any support for WSL - maybe this site can help !?!

I'm trying to install WSL to use with Visual Studio on Windows 10. I followed these instruction for installing WSL2 and Debian Linux - and I then ran the stated bash command - sudo apt install g++ gdb make rsync zip. Everything seemed to install okay and Debian itself is running fine - but it hasn't made any difference when I launch VS2019.

VS2019 simply doesn't realise that Linux compilation should now be possible (I've tried both CMake and also MS-Build).

I've checked and double-checked and triple-checked and I'm pretty sure I've followed the instructions correctly. Is there something missing from the documentation maybe?

Another possibility is that I'm only using the Community Edition of VS2019. So could this be something which only works in the paid-for versions ?

@johne53
Copy link
Author

johne53 commented Aug 22, 2020

Or if Community Edition isn't the problem... could it be an issue with my VS version? I'm running Visual Studio 2019 ver 16.3.9 - is that below the minimum requirement maybe?

@johne53
Copy link
Author

johne53 commented Aug 27, 2020

I eventually got it to work.... FWIW I found docs.microsoft.com to be a better forum for help with WSL:-

https://docs.microsoft.com/en-us/answers/products/

@craigloewen-msft
Copy link
Collaborator

Please see Visual Studio docs for this set up. Thank you for filing this!
https://www.youtube.com/watch?v=WyAzNYNfme8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants