12.2.2 Windows Subsystem for Linux (WSL) and Projects

When working on projects that are accessed through the Windows® Subsystem for Linux® (WSL), the project must be stored on the Windows OS mounts inside WSL, and not inside the WSL image itself. An easy way to accomplish this is to map to a drive.

As an example, an WSL distribution called Ubuntu-20.04 can be made available on Windows OS by running this command:

net use Z: \\wsl$\Ubuntu-20.04

This will map the whole root file system of that WSL distribution into a new disk on your computer called Z:. Once the file system is mapped, then MPLAB X IDE can access the project on Z:\home\....