To use an SCD for your application to run in a system that doesn't have .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 be copied with your application, making the deployment package larger than expected.
For SCD, first open your project file and perform the following steps:
- In Visual Studio 2019, right-click on the project in Solution Explorer and click the Edit <AppName>.csproj menu item. In our case, it's Edit ConsoleApp.csproj, as shown in the following screenshot:
- As shown in the following screenshot, enter the following tag, <RuntimeIdentifiers>win10-x64;Ubuntu.14.04-x64</RuntimeIdentifiers> ...