July 2017
Beginner
466 pages
9h 37m
English
To do a Self-Contained Deployment for your application to run in a system without .NET Core installed, you need to first edit your project file to make some changes. In this type of deployment, the core libraries will also get copied with your application, making the deployment package larger than expected.
For SCD, first, open your project file. In Visual Studio 2017, right-click on the project in Solution Explorer and click on the menu item Edit <AppName>.csproj. In our case it's Edit ConsoleApp.csproj, as shown in the following screenshot:

As shown in the following screenshot, enter the <RuntimeIdentifiers>win10-x64;Ubuntu.14.04-x64</RuntimeIdentifiers> ...
Read now
Unlock full access