Your entire filesystem is shared with the linux image, so you can just drag the code you want to compile in any folder, shift+right click on the folder, hit open powershell/cmd here, and simply run
LxRunOffline.exe r -n switchdev
on the terminal or have an alias like switchdev or something...