Publish a .Net Core Console Application into a 64-bit single executable file using the following command:

dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true