Summary
Signs the specified assembly.
Syntax
[CakeMethodAlias]
public static void Sign(this ICakeContext context, FilePath assembly, SignToolSignSettings settings)
Examples
Task("Sign")
.IsDependentOn("Clean")
.IsDependentOn("Restore")
.IsDependentOn("Build")
.Does(() =>
{
var file = new FilePath("Core.dll");
Sign(file, new SignToolSignSettings {
TimeStampUri = new Uri("http://timestamp.digicert.com"),
CertPath = "digitalcertificate.pfx",
Password = "TopSecret"
});
});
Attributes
Parameters
Return Value