No description, website, or topics provided.
C# PowerShell Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nuspec
src
tools
.gitignore
LICENSE
README.md
build.cake
build.ps1
build.sh
cake.strongnametool.sln
release-notes.md
solution-info.cs

README.md

cake.strongnametool

Example usage:

Some prerequisites are that you are on Windows and have installed one of the Windows SDK:s
and have a project that is set to be delay-sign with some keypair keypair.snk.

Creating a container for the keypair.snk sn.exe -i <infile> <container> Install key pair from into a key container named

#addin nuget:?package=Cake.StrongNameTool

...

Task("StrongNameResign")
    .IsDependentOn("Build")
    .WithCriteria(isRunningOnWindows)
    .Does(() => {
   
    var asmGreet = GetFiles("./src/**/bin/" + configuration + "/greeter*.dll");
    
    StrongNameReSign(asmGreet, new StrongNameToolSettings()
    {
        Container = "Your-SNK-Container" 
    });
    
    StrongNameVerify(asmGreet, new StrongNameToolSettings());

});