Build Provider
Build providers can be used in Build task. The main role of this provider is to provide specific way to build the generated code, and produce a deliverable artifact. The artifact can then be used as input for Hosting provider or Database provider.

Polyrific.Catapult.TaskProviders.DotNetCore

OpenCatapult provides Polyrific.Catapult.TaskProviders.DotNetCore as the built-in provider for Build Provider. This provider can be used to build and create deployable artifact for dotnet core applications. It uses the dotnet publish command that comes with the dotnet core sdk.

Usage

This provider can only be used in Build task. You can use the name Polyrific.Catapult.TaskProviders.DotNetCore when adding or updating a Build task:
1
dotnet occli.dll task add -p SampleProject -j Default -n Build -t Build -prov Polyrific.Catapult.TaskProviders.DotNetCore
Copied!
1
dotnet occli.dll task update -p SampleProject -j Default -n Build -prov Polyrific.Catapult.TaskProviders.DotNetCore
Copied!

Additional configs

This provider has several additional configurations that you can use to fit your use case:
Name
Description
Default Value
Mandatory
CsprojLocation
The location/path of the startup project
{ProjectName}.csproj
No
Configuration
The build configuration used in the build process
Release
No
Last modified 2yr ago