Last active
August 18, 2019 14:39
-
-
Save guitarrapc/cc2acfdda77a817cbe74f832e636e3dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir SingleFileExe | |
cd SingleFileExe | |
dotnet new console | |
dotnet publish -r win10-x64 --self-contained=false /p:PublishSingleFile=true -o ./bin/out | |
./bin/out/SingleFileExe.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment