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)

RestoreParams

DotNet restore parameters

Record Fields

Record FieldDescription
AdditionalArgs
Signature: string list

Additional Args

DisableParallel
Signature: bool
NoCache
Signature: bool

Whether to use the NuGet cache.

Project
Signature: string

Project (optional).

TimeOut
Signature: TimeSpan

A timeout for the command.

ToolPath
Signature: string

ToolPath - usually just "dotnet"

WorkingDir
Signature: string

Working directory (optional).