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

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

v5.fake.build

DotNet.PackOptions Type

dotnet pack 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

IncludeSymbols

Full Usage: IncludeSymbols

Field type: bool

Includes the debug symbols NuGet packages in addition to the regular NuGet packages in the output directory (--include-symbols)

Field type: bool

MSBuildParams

Full Usage: MSBuildParams

Field type: CliArguments

Other msbuild specific parameters

Field type: CliArguments

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

VersionSuffix

Full Usage: VersionSuffix

Field type: string option

Version suffix to use

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: PackOptions
Modifiers: inline

Changes the "Common" properties according to the given function

f : Options -> Options
Returns: PackOptions

this.WithEnvironment

Full Usage: this.WithEnvironment

Parameters:
    map : Map<string, string>

Returns: PackOptions

Sets the current environment variables.

map : Map<string, string>
Returns: PackOptions

this.WithRedirectOutput

Full Usage: this.WithRedirectOutput

Parameters:
    shouldRedirect : bool

Returns: PackOptions

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

shouldRedirect : bool
Returns: PackOptions

Static members

Static member Description

PackOptions.Create()

Full Usage: PackOptions.Create()

Returns: PackOptions

Parameter default values.

Returns: PackOptions