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 verify tool aliases. If one has turned off strong name verification on a machine you can provide the StrongNameToolSettings with ForceVerification set to true.

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.