Cake AddIn that extends Cake with VsixSignTool
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.
src
.gitignore
LICENSE
README.md
ReleaseNotes.md

README.md

Cake.VsixSignTool

A Cake AddIn that extends Cake with VsixSignTool.

cakebuild.net NuGet

Requirements

  • 1.2.0:

    • Cake 0.28 or later

    • BREAKING change: VSIX tool is now decoupled from adding, you have to add it manually to cake script, like

      #tool nuget:?package=Microsoft.VSSDK.Vsixsigntool

  • 1.0.0: Latest package is referencing Cake 0.22 or later.

Including addin

Including addin in cake script is easy.

#addin "Cake.VsixSignTool"

Usage

To use the addin just add it to Cake call the aliases and configure any settings you want.

#tool nuget:?package=Microsoft.VSSDK.Vsixsigntool
#addin "Cake.VsixSignTool"
Task("Sign")
    .Does(() => 
    {
        VsixSignToolSign(new VsixSignToolSignSettings { 
            File = "test.pfx", 
            Hash="...some hash",
            Password = "PASSWORD"
            }, 
         "MyVsixPackage.vsix");
    });
...

Either string or FilePath can be used to pass target files.

General Notes

This is an initial version and not tested thoroughly. Contributions welcome.

Works only on Windows unless VsixSignTool isn't ported to other OSes.

Follow @mihamarkic