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)

PackParams

DotNet pack parameters

Record Fields

Record FieldDescription
AdditionalArgs
Signature: string list

Additional Args

Configuration
Signature: string

The build configuration.

OutputPath
Signature: string

Optional output path.

Project
Signature: string

Project (optional).

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).