Visual Studio Code on Parallels on Mac

Hi everyone. We have a frustrating issue we hope someone could help us with, or point us in the direction of a solution. We are a Rookie Team, and currently are coding on the Lenovo that was in the Rookie KOP, and we have our Driver Station up and running on Parallels, Windows 10, on a 13" MacBook Pro running 10.13.6, and everything is running fine.

We would like the option to also code on our 13" MacBook Pro but we have run into an error we kind really find any topics on, at least pertaining to FRC. So we have Visual Studio Code installed and when we try executing code we get the following error: “Can’t execute a shell command on an UNC drive using cmd.exe”.

Our thought is maybe Visual Code Studio is trying to write to the Mac OS, instead of the Virtual C drive within the Windows emulator.

Does anyone have any thoughts?

You don’t need to run vscode within parallels, you can run it natively on Mac. See the Mac instructions on screensteps here: http://wpilib.screenstepslive.com/s/currentCS/m/java/l/1027503-installing-c-and-java-development-tools-for-frc

1 Like

Thank you for some reason we missed that in the instructions, we will go try that next.

As was mentioned the gradle deploy works great from a mac without Parallels. Just so you understand you need to provide a drive letter mapping code from a UNC path (\Mac\Home) from a command prompt:

net use * \\Mac\Home

will provide a drive letter. Then be sure and open the folder using the drive letter, not the UNC path.

I use parallels all the time to run a driver station, while developing on the Mac side – generally you will need to use bridged networking to get the driver station to function correctly.