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
<PackageReference Include="ricaun.SignTool" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="ricaun.SignTool" Version="1.0.0" />
<PackageReference Include="ricaun.SignTool"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add ricaun.SignTool --version 1.0.0
#r "nuget: ricaun.SignTool, 1.0.0"
#:package ricaun.SignTool@1.0.0
#addin nuget:?package=ricaun.SignTool&version=1.0.0
#tool nuget:?package=ricaun.SignTool&version=1.0.0
ricaun.SignTool
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!
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 |