BeyondDimension/SteamTools · error · FileNotFoundException
SignTool.exe
Error message
SignTool.exe
What it means
Error "SignTool.exe" thrown in BeyondDimension/SteamTools.
Source
Thrown at src/BD.WTTS.Client.Tools.Publish/Helpers/MSIXHelper.cs:331
const string SignTool_exe = "SignTool.exe";
static string GetSignToolPath(WinVersion version)
{
var path = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
path = Path.Combine(path, "Windows Kits", "10", "bin", $"10.0.{(ushort)version}.0", RuntimeInformation.OSArchitecture.ToString().ToLowerInvariant(), SignTool_exe);
return path;
}
static string GetSignToolPath()
{
var query = from m in Enum.GetValues<WinVersion>().OrderByDescending(x => (ushort)x)
let p = GetSignToolPath(m)
let exists = File.Exists(p)
where exists
select p;
var path = query.FirstOrDefault();
if (string.IsNullOrWhiteSpace(path))
throw new FileNotFoundException(SignTool_exe);
return path;
}
const string timestamp_url = "http://timestamp.digicert.com";
public const string pfxFilePath_MSStore_CodeSigning = @"C:\MSStore_CodeSigning.pfx";
public const string pfxFilePath_BeyondDimension_CodeSigning = @"C:\BeyondDimension_CodeSigning.pfx";
public const string pfxFilePath_HSM_CodeSigning = "e1e00c478e41300480a63cd62d5f771d24cf903b";
public static void Start(
bool force_sign,
string fileName,
string? pfxFilePath = null,
string? workingDirectory = null)
{
//if (pfxFilePath != pfxFilePath_MSStore_CodeSigning)
// return;
View on GitHub (pinned to c16ffa08e0)
Solutions
- Install the Windows 10/11 SDK so SignTool.exe is present under %ProgramFiles(x86)%\Windows Kits\10\bin\<version>\<arch>\.
- Add the Windows SDK 'Windows SDK Signing Tools for Desktop Apps' feature, which provides SignTool.exe.
- Ensure the signing step runs on a Windows machine with the Windows Kits directory available.
Example fix
Open Visual Studio Installer, add the Windows SDK signing tools component, then rerun the signing step.
When it happens
Trigger: Thrown when signing an MSIX package: SignTool.exe could not be located in any of the searched Windows SDK installation paths.
Common situations: The Windows SDK (including the signing tools component) is not installed, or signtool.exe lives outside the standard SDK bin directories searched. Install the Windows SDK with the signing tools, or ensure the SDK bin path is discoverable.
AI-assisted analysis of BeyondDimension/SteamTools@c16ffa08e0 (2026-08-13).
Data as JSON: /api/errors/ba9f919261fdee4e.
Report an issue: GitHub.