StrongNameVerifyToolAliases.

StrongNameVerify(ICakeContext, IEnumerable<string>, StrongNameToolSettings) Method

Summary

Verify assembly for strong name signature self consistency.

Syntax

public static void StrongNameVerify(this ICakeContext context, IEnumerable<string> assemblies, StrongNameToolSettings settings)

Examples

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
assemblies IEnumerable<string> The assemblies to verify.
settings StrongNameToolSettings The Strong Name tool settings to use.

Return Value

Type Description
void