The Dotnet Publish CNB requires a set of buildpacks and then compiles the application that it has been given.
The Dotnet Publish CNB provides build dependency. The build dependency can required by generating a Build Plan TOML file that looks like the following:
[[requires]]
# The name of the Dotnet Publish dependency is "build". This value is considered
# part of the public API for the buildpack and will not change without a plan
# for deprecation.
name = "build"
# Note: The version field is unsupported as there is no version for a set of
# build.
# The Dotnet Publish CNB does not support non-required metadata options.
To package this buildpack for consumption:
$ ./scripts/package.sh
This builds the buildpack's source using GOOS=linux by default. You can supply another value as the first argument to package.sh.
dotnet-build:
# this allows you to set the location of the web app inside of the app root
# if not set it will default to the app root
project-path: "src/asp_web_app"