'Opening WSL files in Visual Studio 2022
TL;DR: Has anyone found a way to open folders in WSL2 using Visual Studio 2022?
Context: I am developing a C/C++ Linux software. Currently, I am using VisualStudio Code to open and edit source files. Now, I am way more efficient with Visual Studio 2022 and I cannot find a way to open folders inside of WSL2. (Single files work, but that is nearly not good enough for a proper workflow).
I have tried following this answer, but it does not do what I need.
Further, according to this MS devblog, quote: "Our C++ cross-platform support in Visual Studio assumes that all source files originate in the Windows file system." This is not the case for me, my files originate in WSL2 and making them originate in Windows would be a hassle that would outweigh the benefits gained from working with VS2022.
Note: I only want to write code this way. Building and running the software is done somewhere else.
Anyone managed to make this work?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
