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
Type | Description |
SignCert |
Represents a certificate file and an optional password |
SignParams |
Parameters used for signing. |
Functions and values
Function or value | Description |
AppendSignature(...)
Signature: toolsPath:string -> parameters:SignParams -> filesToSign:seq<string> -> unit
|
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
|
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>] |
OBSOLETESigns 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. |