An open API service indexing awesome lists of open source software.

https://github.com/mihamarkic/cake.vsixsigntool

Cake AddIn that extends Cake with VsixSignTool
https://github.com/mihamarkic/cake.vsixsigntool

addin cake

Last synced: 4 months ago
JSON representation

Cake AddIn that extends Cake with VsixSignTool

Awesome Lists containing this project

README

        

# Cake.VsixSignTool

A Cake AddIn that extends Cake with [VsixSignTool](https://msdn.microsoft.com/en-us/library/dd997171.aspx).

[![cakebuild.net](https://img.shields.io/badge/WWW-cakebuild.net-blue.svg)](http://cakebuild.net/)
[![NuGet](https://img.shields.io/nuget/v/Cake.VsixSignTool.svg)](https://www.nuget.org/packages/Cake.VsixSignTool)

## Requirements
* 1.4.0

- Cake 4.0.0
- .net 6+

* 1.3.0:

- Cake 0.33 or later

* 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.

```csharp
#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](https://img.shields.io/badge/Twitter-Follow%20%40mihamarkic-blue.svg)](https://twitter.com/intent/follow?screen_name=mihamarkic)