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