Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Please add 'open Fake.DotNet' and use 'DotNet.*' instead, see https://fake.build/dotnet-dotnet.html for an example (the fake 5 module is called Fake.DotNet.Cli)

PublishParams

DotNet publish parameters

Record Fields

Record FieldDescription
AdditionalArgs
Signature: string list

Additional Args

Configuration
Signature: string

The build configuration.

Framework
Signature: string

Allows to publish to a specific framework

Output
Signature: string

Optional outputh path

Project
Signature: string

Project (optional).

Runtime
Signature: string

Allows to test a specific runtime

TimeOut
Signature: TimeSpan

A timeout for the command.

ToolPath
Signature: string

ToolPath - usually just "dotnet"

VersionSuffix
Signature: string

Optional version suffix.

WorkingDir
Signature: string

Working directory (optional).