StrongNameVerifyToolAliases.

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

Summary

Verify assembly for strong name signature self consistency.

Syntax

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

Examples

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void