I am investigating possibility to create a DevOps workflow to automatically deploy latest NETMF to G400 then create the HEX file and store it in artifact storage.
Is it possible to use command line to build the EXE then deploy it the G400 module? Normally I will need to click the run button to deploy, but it would simplify the process a lot if I can do it through command line. Thanks.
I know MFDeploy can help with creating HEX from the device but I am looking for a way to build & deploy from .csproj to the device.
It looks like devenv /debugexe not able to deploy the code to the board. Another way I can think of is have the csproj project opened in visual studio and have a auto clicker / UI test program to click the Run button.This looks unprofessional but at least should be working.
I got the build part OK. But the problem is getting the pe file instead of HEX deployed. Just took an hour looking at MFDeployEnging.dll and debugger’s source code. Seems it’s the right direction (Thanks guys!) but still not quite find the way yet. Will take another look tomorrow.