ricaun.SignTool 1.0.0

Prefix Reserved
dotnet add package ricaun.SignTool --version 1.0.0
                    
NuGet\Install-Package ricaun.SignTool -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ricaun.SignTool" Version="1.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ricaun.SignTool" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ricaun.SignTool">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ricaun.SignTool --version 1.0.0
                    
#r "nuget: ricaun.SignTool, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ricaun.SignTool@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ricaun.SignTool&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ricaun.SignTool&version=1.0.0
                    
Install as a Cake Tool

ricaun.SignTool

Visual Studio 2022 Nuke License MIT Build Release

ricaun.SignTool is a tool to sign assembly file after build using a file certificate. This package use the App Certification Kit as tools with the signtool.exe to sign the files.

Installation

Install the package using the NuGet package manager or using PackageReference.

<PackageReference Include="ricaun.SignTool" Version="*">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>

By default, the output file is sign using the environment variable SIGN_FILE and SIGN_PASSWORD to sign the file.

Configuration

PropertyGroups

Property Name Default Value Description
SignToolEnabled true Enable / Disable SignTool target task.
SignToolImportance High Log importance to show in the console. (Low or High)
SignToolCommandImportance Low Log importance from the SignTool.exe to show in the console. (Low or High)
SignToolAfterTargets CoreBuild AfterTargets to run the SignTool target task. (CoreBuild, Build, etc.)
SignToolBeforeTargets `` BeforeTargets to run the SignTool target task. (CoreBuild, Build, etc.)
SignToolFile $(SIGN_FILE) Path to the certificate file (.pfx).
SignToolPassword $(SIGN_PASSWORD) Password to the certificate file (.pfx).
SignToolTimestampUrl http://timestamp.digicert.com URL to the timestamp server.
SignToolTimestampDigest sha256 Digest algorithm to use for the timestamp server. (sha1, sha256, sha384, sha512)
<PropertyGroup>
  <SignToolEnabled>true</SignToolEnabled>
  <SignToolImportance>High</SignToolImportance>
  <SignToolCommandImportance>Low</SignToolCommandImportance>
  <SignToolAfterTargets>CoreBuild</SignToolAfterTargets>
  <SignToolBeforeTargets></SignToolBeforeTargets>
  <SignToolFile>$(SIGN_FILE)</SignToolFile>
  <SignToolPassword>$(SIGN_PASSWORD)</SignToolPassword>
  <SignToolTimestampUrl>http://timestamp.digicert.com</SignToolTimestampUrl>
  <SignToolTimestampDigest>sha256</SignToolTimestampDigest>
</PropertyGroup>

Release

License

This project is licensed under the MIT License.


Do you like this project? Please star this project on GitHub!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETFramework 4.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 654 5/13/2025