.NET Core
From IML Wiki
How to create .exe file from your .net console app
run next script in project folder
dotnet publish -c Release -r win10-x64 dotnet publish -c Release -r ubuntu.16.10-x64
run next script in project folder
dotnet publish -c Release -r win10-x64 dotnet publish -c Release -r ubuntu.16.10-x64