![Microsoft visual studio linux](https://cdn2.cdnme.se/5447227/9-3/screenshot_1_64e629469606ee7f889a24a7.jpg)
It doesn't seem possible yet to switch between the two platforms in just a single project. Maybe this document is what you find: Improvements to Accuracy and Performance of Linux IntelliSense I did read something about it somewhere so I'll just need to find it again.
![microsoft visual studio linux microsoft visual studio linux](https://www.tecmint.com/wp-content/uploads/2020/05/Install-Visual-Studio-Code-in-Linux.png)
Intellisense is the only thing I still need to set up (for the Linux compilers).
![microsoft visual studio linux microsoft visual studio linux](https://1.bp.blogspot.com/-0IbYa7fhcEU/VUEVbXGAhuI/AAAAAAAAJrU/X-YBKvTvqV8/s1600/code1.png)
You could check this directory in property page. Now I just need to figure out where it puts the built files. You can run these commands in linux system, which will enable ssh feature: sudo apt-get install openssh-client I can't claim to understand this but I found a command online:- ssh -L1234:localhost:22 localhost and if I issue it from bash it gives me this error:- ssh: connect to host localhost port 22: Connection refused You can try to use ip address instead of 'localhost'. I'm using the name and port number shown in the instructions and I've tried various different user names and passwords. You just need to right-click project in solution explorer, then switch the platform Toolset to GCC for Windows Subsystem for Linux.Īnd according to your latest updates, you could follow this document: Configure a Linux MSBuild C++ project in Visual Studio to configure your linux msbuild project, and then build, debug, run it on remote linux system. The configuration of msbuild project is different from cmake.įrom first document, you don't need to add connection in Connection Manager. If these steps doesn't work, could you please provide some details about your compilation error? In the project property page, select GCC for Windows Subsystem for Linux instead of GCC for Remote LinuxĪfter that, the application can compile and debug normally.
![microsoft visual studio linux microsoft visual studio linux](https://1.bp.blogspot.com/-6UFPGUD_DnM/XCtul3PFNFI/AAAAAAAACW0/SlHCENpex3QhTU3S7u5oHBmf4tPbaDq5gCLcBGAs/s640/lin3.png)
![Microsoft visual studio linux](https://cdn2.cdnme.se/5447227/9-3/screenshot_1_64e629469606ee7f889a24a7.jpg)