The key things to remember when building an automated pipeline for .NET Core are:
preview3
or later of the tooling, this doesn’t really pose a problem because the lock information is stored in one of the normally-excluded directories like obj/
.restore
prior to a build
.dotnet publish -o publish
to publish the service/application that is being managed by the build pipeline. This gathers up all of the application dependencies and bundles them into a single directory ready for push.publish
directory contains both a global.json
file and a manifest.yml
file. The global.json
file tells the .NET Core buildpack which versio of the SDK to use in order to compile during cf push