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
- Host: GitHub
- URL: https://github.com/mihamarkic/cake.vsixsigntool
- Owner: MihaMarkic
- License: mit
- Created: 2017-04-19T08:30:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-08T09:36:15.000Z (over 1 year ago)
- Last Synced: 2024-02-08T10:37:48.567Z (over 1 year ago)
- Topics: addin, cake
- Language: C#
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).
[](http://cakebuild.net/)
[](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.
[](https://twitter.com/intent/follow?screen_name=mihamarkic)