StrongNameVerifyToolAliases.

StrongNameVerify(ICakeContext, string, StrongNameToolSettings) Method

Summary

Verify assembly for strong name signature self consistency.

Syntax

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

Examples

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void