Closed ghost closed 4 years ago
The Mode=CoreRT thing is defined in the project file in this repo. Vanilla dotnet new
doesn't know about it and won't produce self-contained executable by default.
See here: https://github.com/MichalStrehovsky/SeeSharpSnake/blob/master/SeeSharpSnake.csproj
First go here:
https://dotnet.microsoft.com/download/dotnet-core/3.1
Download SDK Windows Binary x64, then extract. Then run:
Then take one of your example commands:
this creates:
I dont know why it makes 3 of the same thing, but whatever. So if you try to run one of them, you get:
So how is that self contained?