Publishing a Self-Contained App
Learn about the steps to publish a self-contained .NET application, including building and publishing for different operating systems.
We'll cover the following
Steps to publish a self-contained app
We have seen some example dotnet tool commands. We can publish our cross-platform console app:
Step 1: At the command line, ensure we are in the DotNetEverywhere
folder.
Step 2: Enter a command to build and publish the self-contained release version of the console application for Windows 10, as shown in the following command:
Get hands-on with 1400+ tech skills courses.