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

OBSOLETE

Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool)

SignToolHelper

Contains a task to sign assemblies using the SignTool.

Certificates

The SignTool needs a certificate to sign assemblies. It is not a good idea to include a certficate in your source control system, but the sign step should be usable on developer machines. Because of this, you can specify a dev certificate that can safely included in your source control system. Whenever the real certificate can not be found, the dev certificate will be used.

Nested types and modules

TypeDescription
SignCert
OBSOLETE

Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, type: SignCertificate)

Represents a certificate file and an optional password

SignParams
OBSOLETE

Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, type: SignOptions)

Parameters used for signing.

Functions and values

Function or valueDescription
AppendSignature(...)
Signature: toolsPath:string -> parameters:SignParams -> filesToSign:seq<string> -> unit
Attributes:
[<Obsolete("Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, function: sign)")>]
OBSOLETE

Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, function: sign)

Appends a SHA 256 signature to assemblies according to the settings specified in the parameters using signtool.exe. This will be looked up using the toolsPath parameter.

Sign toolsPath parameters filesToSign
Signature: toolsPath:string -> parameters:SignParams -> filesToSign:seq<string> -> unit
Attributes:
[<Obsolete("Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, function: sign)")>]
OBSOLETE

Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, function: sign)

Signs assemblies according to the settings specified in the parameters using signtool.exe. This will be looked up using the toolsPath parameter.

SignTool(...)
Signature: toolsPath:string -> certFile:string -> passFile:string option -> filesToSign:seq<string> -> unit
Attributes:
[<Obsolete("Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, function: sign)")>]
OBSOLETE

Open Fake.Tools instead (FAKE0001 - package: Fake.Tools.SignTool, module: SignTool, function: sign)

Signs all files in filesToSign with the certification file certFile, protected with the password in the file passFile. The signtool will be search in the toolPath.