This is part of the Fake.DotNet.Cli module.

PackOptions

dotnet pack command options

Record Fields

Record FieldDescription
BuildBasePath
Signature: string option

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

Common
Signature: Options

Common tool options

Configuration
Signature: BuildConfiguration

Pack configuration (--configuration)

IncludeSymbols
Signature: bool

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

MSBuildParams
Signature: CliArguments

Other msbuild specific parameters

NoBuild
Signature: bool

No build flag (--no-build)

NoLogo
Signature: bool

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

NoRestore
Signature: bool

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

OutputPath
Signature: string option

Output path (--output)

VersionSuffix
Signature: string option

Version suffix to use

Instance members

Instance memberDescription
x.Environment
Signature: Map<string,string>

Gets the current environment

x.WithCommon(f)
Signature: (f:(Options -> Options)) -> PackOptions
Modifiers: inline

Changes the "Common" properties according to the given function

x.WithEnvironment(map)
Signature: map:Map<string,string> -> PackOptions

Sets the current environment variables.

x.WithRedirectOutput(shouldRedirect)
Signature: shouldRedirect:bool -> PackOptions

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

Static members

Static memberDescription
PackOptions.Create()
Signature: unit -> PackOptions

Parameter default values.

PackOptions.Default
Signature: PackOptions
Attributes:
[<Obsolete("Use PackOptions.Create instead")>]
OBSOLETE

Use PackOptions.Create instead