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

<package id="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. It is possible to resign a delay-signed assembly. The resign alias uses the sn.exe containers to resign the specified assemblies. the aliases also provide verification functionality. The verify alias will check if an assembly has a strong name or not. ForceVerification set to true.

General

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