The Arduino environment compiles and uploads without issue.
The VS2017 environment using Visual Micro compiles identically but fails to invoke OpenOCD.exe correctly.
This is the output that is shown when I attempt to do an upload from VS2017:
Uploading 'SensorStatus' to 'MXCHIP AZ3166' using 'COM3'
Uploader started for board MXCHIP AZ3166
Upload method will be: bootloader
Uploading via Bootloader
C:\Users\Mark G
exe -f
cripts/INTERF~1/STLINK~2.CFG -c transport select hla_swd -f
cripts/target/stm32f4x.cfg -c "program
atus.ino.bin}} verify reset 0x800C000; shutdown"
GNU ARM Eclipse 32-bits Open On-Chip Debugger 0.10.0-00114-g8419536 (2017-04-18-22:14)
The uploader process failed
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html interface_transports transport ...
transport
transport init
transport list
transport select [transport_name]
transport : command requires more arguments
in procedure 'transport'