Created
August 18, 2019 14:38
-
-
Save guitarrapc/9365a90ca1b9491303c1f666b5c36f30 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
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 |
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