Hi @Ivan Ivlev ,
Welcome to Microsoft Q&A forum.
It is not possible. Putting files in WSL2 filesystem may be possible, but as the blog says:
Our C++ cross-platform support in Visual Studio assumes that all source files originate in the Windows file system.
You can’t open folders and develop your project which is already stored in WSL2 filesystem by using VS 2022, currently, I’m afraid.
I suggest you raise a suggestion ticket on our Developer Community.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.