StrongNameVerifyToolAliases.

StrongNameVerify(ICakeContext, FilePath, StrongNameToolSettings) Method

Summary

Verify assembly for strong name signature self consistency.

Syntax

public static void StrongNameVerify(this ICakeContext context, FilePath assembly, StrongNameToolSettings settings)

Examples

Task("Verify")
    .IsDependentOn("Clean")
    .IsDependentOn("Restore")
    .IsDependentOn("Build")
    .Does(() =>
{
    var file = new FilePath("Core.dll");
    StrongNameVerify(file, new StrongNameToolSettings {
            ForceVerification = true
    });
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
assembly FilePath The assembly to verify.
settings StrongNameToolSettings The Strong Name tool settings to use.

Return Value

Type Description
void