This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.StrongNameTool.
Summary
Uses sn.exe to resign the specified assemblies.
Syntax
public static void StrongNameReSign(this ICakeContext context, IEnumerable<FilePath> assemblies, StrongNameToolSettings settings)
Examples
Task("Verify")
.IsDependentOn("Clean")
.IsDependentOn("Restore")
.IsDependentOn("Build")
.Does(() =>
{
var files = GetFiles("*.dll");
StrongNameReSign(file, new StrongNameToolSettings {
Container = "YOUR_CONTAINER_NAME"
});
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
assemblies |
IEnumerable<FilePath> |
The assemblies to resign. |
settings |
StrongNameToolSettings |
The Strong Name tool settings to use. |
Return Value