StrongNameCreateToolAliases.

StrongNameCreate(ICakeContext, FilePath) Method

Summary

Uses sn.exe to create a new strong name key file.

Syntax

public static void StrongNameCreate(this ICakeContext context, FilePath strongNameKeyFilePath)

Examples

Task("Create-Strong-Key-File")
    .Does(() =>
{
    var file = "test.snk";
    StrongNameReSign(file);
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
strongNameKeyFilePath FilePath The path for the new strong name key file.

Return Value

Type Description
void