I am trying to compile and run the UART Bootloader Host source in Visual Studio 2017.
The source compiles ok and runs but when I select the "Bootload" button I get the following error in the "backgroundWork_DoWork()" routine...
System.BadImageFormatException: 'An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)'
The pre-compiled exe runs fine but I cannot run it from source