FAKE - F# Make - A DSL for build tasks and more FAKE
6.0.0

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

DotNet.PublishOptions Type

dotnet publish command options

Record fields

Record Field Description

BuildBasePath

Full Usage: BuildBasePath

Field type: string option

Build base path (--build-base-path)

Field type: string option

Common

Full Usage: Common

Field type: Options

Common tool options

Field type: Options

Configuration

Full Usage: Configuration

Field type: BuildConfiguration

Pack configuration (--configuration)

Field type: BuildConfiguration

Force

Full Usage: Force

Field type: bool option

Force all dependencies to be resolved even if the last restore was successful. This is equivalent to deleting project.assets.json. (--force)

Field type: bool option

Framework

Full Usage: Framework

Field type: string option

Target framework to compile for (--framework)

Field type: string option

MSBuildParams

Full Usage: MSBuildParams

Field type: CliArguments

Other msbuild specific parameters

Field type: CliArguments

Manifest

Full Usage: Manifest

Field type: string list option

Specifies one or several target manifests to use to trim the set of packages published with the app. The manifest file is part of the output of the dotnet store command. This option is available starting with .NET Core 2.0 SDK. (--manifest)

Field type: string list option

NoBuild

Full Usage: NoBuild

Field type: bool

No build flag (--no-build)

Field type: bool

NoLogo

Full Usage: NoLogo

Field type: bool

Don't show copyright messages. (--nologo)

Field type: bool

NoRestore

Full Usage: NoRestore

Field type: bool

Doesn't execute an implicit restore when running the command. (--no-restore)

Field type: bool

OutputPath

Full Usage: OutputPath

Field type: string option

Output path (--output)

Field type: string option

Runtime

Full Usage: Runtime

Field type: string option

Target runtime to publish for (--runtime)

Field type: string option

SelfContained

Full Usage: SelfContained

Field type: bool option

Publish the .NET Core runtime with your application so the runtime doesn't need to be installed on the target machine. The default is 'true' if a runtime identifier is specified. (--self-contained)

Field type: bool option

VersionSuffix

Full Usage: VersionSuffix

Field type: string option

Defines what * should be replaced with in version field in project.json (--version-suffix)

Field type: string option

Instance members

Instance member Description

this.Environment

Full Usage: this.Environment

Returns: Map<string, string>

Gets the current environment

Returns: Map<string, string>

this.WithCommon

Full Usage: this.WithCommon

Parameters:
Returns: PublishOptions
Modifiers: inline

Changes the "Common" properties according to the given function

f : Options -> Options
Returns: PublishOptions

this.WithEnvironment

Full Usage: this.WithEnvironment

Parameters:
    map : Map<string, string>

Returns: PublishOptions

Sets the current environment variables.

map : Map<string, string>
Returns: PublishOptions

this.WithRedirectOutput

Full Usage: this.WithRedirectOutput

Parameters:
    shouldRedirect : bool

Returns: PublishOptions

Sets a value indicating whether the output for the given process is redirected.

shouldRedirect : bool
Returns: PublishOptions

Static members

Static member Description

PublishOptions.Create()

Full Usage: PublishOptions.Create()

Returns: PublishOptions

Parameter default values.

Returns: PublishOptions