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

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Represents a certificate file and an optional password

SignParams
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Parameters used for signing.

Functions and values

Function or valueDescription
AppendSignature(...)
Signature: toolsPath:string -> parameters:SignParams -> filesToSign:seq<string> -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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.