Page 1 of 1

Self-Contained .Net Core Application

Posted: Thu Oct 20, 2022 4:08 am
by jussij
To create a self-contained .Net Core executable for the Windows platform run the following command:

Code: Select all

dotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained true
More details can be found here: https://learn.microsoft.com/en-us/dotne ... w?tabs=cli