How to build and publish self contained .NET Core binaries for Windows, Linux and OSX

Interfacing with the Arduino's bootloader directly – C# (to upload a HEX file)