When I run dotnet build
on my code from my WSL (Windows Subsystem for Linux) distro, C# intellisense breaks and I get errors like the following:
I've managed to set up the launch configurations found here, but that doesn't help with Intellisense, unless I've missed something.
I presume it has something to do with path configurations, but I'm not sure what to change, or where I should change it.
In short, how can I compile and run my code on WSL and edit it in VS Code without errors or warnings?