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

CliInstallOptions

.NET Core SDK install options

Record Fields

Record FieldDescription
Architecture
Signature: CliArchitecture

Architecture

Channel
Signature: string option

Specifies the source channel for the installation. The possible values are: - Current - Most current release. - LTS - Long-Term Support channel (most current supported release). - Two-part version in X.Y format representing a specific release (for example, 2.0 or 1.0). - Branch name. For example, release/2.0.0, release/2.0.0-preview2, or master (for nightly releases).

The default value is LTS. For more information on .NET support channels, see the .NET Support Policy page.

Use the CliChannel module, for example CliChannel.Current

CustomInstallDir
Signature: string option

Custom installation directory (for local build installation)

DebugSymbols
Signature: bool

Include symbols in the installation (Switch does not work yet. Symbols zip is not being uploaded yet)

DryRun
Signature: bool

If set it will not perform installation but instead display what command line to use

ForceInstall
Signature: bool

Always download and run the installer, ignore potentiall existing installations.

InstallerOptions
Signature: InstallerOptions -> InstallerOptions

Custom installer obtain (download) options

NoPath
Signature: bool

Do not update path variable

Version
Signature: CliVersion

.NET Core SDK version

Static members

Static memberDescription
CliInstallOptions.Default
Signature: CliInstallOptions

Parameter default values.