Summary
Signs the specified assemblies.
Syntax
[CakeMethodAlias]
public static void Sign(this ICakeContext context, IEnumerable<FilePath> assemblies, SignToolSignSettings settings)
Examples
Task("Sign")
.IsDependentOn("Clean")
.IsDependentOn("Restore")
.IsDependentOn("Build")
.Does(() =>
{
var files = GetFiles(solutionDir + "/**/bin/" + configuration + "/**/*.exe");
Sign(files, new SignToolSignSettings {
TimeStampUri = new Uri("http://timestamp.digicert.com"),
CertPath = "digitalcertificate.pfx",
Password = "TopSecret"
});
});
Attributes
Parameters
Return Value