Harmont docs
Pipeline SDKReferenceToolchains

Dotnet

Generated reference for the harmont Dotnet API.

dotnet

Callable singleton for the dotnet toolchain — access as hm.dotnet.

Call directly to construct a DotnetProject, or use the bare-form action methods (dotnet.build(), dotnet.test(), etc.) for a one-shot leaf.

dotnet(*, path='.', channel='8.0', image=None, base=None) -> DotnetProject
ParameterTypeDefaultDescription
pathstr'.'Path to the .NET project root.
channelstr'8.0'.NET SDK channel to install. Use a version like
"8.0", or a release band like "LTS" or "STS".
imagestr | NoneNoneLocal-mode Docker base image override.
baseStep | NoneNoneExisting Step to attach to instead of emitting a fresh
apt-base step.

Returns DotnetProject — A DotnetProject ready for action methods.

dotnet.build()

build(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

dotnet.fmt()

fmt(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

dotnet.test()

test(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

DotnetEntry

Callable singleton for the dotnet toolchain — access as hm.dotnet.

Call directly to construct a DotnetProject, or use the bare-form action methods (dotnet.build(), dotnet.test(), etc.) for a one-shot leaf.

DotnetEntry.build()

build(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

DotnetEntry.fmt()

fmt(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

DotnetEntry.test()

test(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

DotnetProject

dotnet (C#) project install chain — constructed via hm.dotnet().

installed is the dotnet-install step. Action methods (build, test, fmt) attach leaves to installed.

Fields

FieldTypeDefault
pathstrrequired
installedSteprequired

DotnetProject.build()

build(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

DotnetProject.fmt()

fmt(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

DotnetProject.test()

test(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

On this page