I am trying to publish a self-deployment using Visual Studio. I can easily achieve this using the CLI by doing:
dotnet new mvc
dotnet restore
dotnet build
dotnet publish -c release
These commands will create a new mvc application, restore all libraries for the win81-x64 runtime, and publish it. As a result, the deployment will contain the runtime for the .net core 1.1 / win81-x64 platform as part of the application. That way I can install it on a server where .net core 1.1 is not pre-installed.
My question is, how can I achieve this using Visual Studio 2017 publish UI? If I make a simple post, it will not contain .net core runtime files.
Thank!