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

CliVersion

.NET Core SDK version (used to specify version when installing .NET Core SDK)

Union Cases

Union CaseDescription
Coherent
Signature:

Latest coherent build on the channel; uses the latest stable package combination (used with Branch name -Channel options).

GlobalJson
Signature:

Take version from global.json and fail if it is not found.

Latest
Signature:

Latest build on the channel (used with the -Channel option).

Version(string)
Signature: string

Three-part version in X.Y.Z format representing a specific build version; supersedes the -Channel option. For example: 2.0.0-preview2-006120.