Cake.StrongNameTool

Cake AddIn to help with the resigning and verification of StrongName in .NET assemblies by using sn.exe

#addin nuget:?package=Cake.StrongNameTool&version=0.0.5

dotnet add package Cake.StrongNameTool --version 0.0.5

<PackageReference Include="Cake.StrongNameTool" Version="0.0.5" />

Aliases

Strong Name (sn.exe) tool aliases.static It is possible to create a new snk file by passing the path to the file that you want to create.

General

StrongNameCreate(FilePath) Uses sn.exe to create a new strong name key file.
StrongNameReSign(FilePath, StrongNameToolSettings) Uses sn.exe to resign the specified assembly.
StrongNameReSign(IEnumerable<FilePath>, StrongNameToolSettings) Uses sn.exe to resign the specified assemblies.
StrongNameReSign(IEnumerable<string>, StrongNameToolSettings) Uses sn.exe to resign the specified assemblies.
StrongNameReSign(string, StrongNameToolSettings) Uses sn.exe to resign the specified assembly.
StrongNameVerify(FilePath, StrongNameToolSettings) Verify assembly for strong name signature self consistency.
StrongNameVerify(IEnumerable<FilePath>, StrongNameToolSettings) Verify assembly for strong name signature self consistency.
StrongNameVerify(IEnumerable<string>, StrongNameToolSettings) Verify assembly for strong name signature self consistency.
StrongNameVerify(string, StrongNameToolSettings) Verify assembly for strong name signature self consistency.