"Arduino M0" upload from windows command prompt on windows 10

Hi

I'm having the exact issue in Visual Studio using Visual Micro, followed this issue from Visaul Micro forum.

I found with trial and error uploads worked from the Arduino IDE but not from Visual Studio/Visual Micro, a Google brought me here.

Regards

Phil