Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An error occurred while signing: SignTool.exe not found

While I was trying to Update my Project I was making - I got an error for the first time I've seen:

'An error occurred while signing: SignTool.exe not found.'

I've never seen this before, So I looked up that SignTool.exe is what signs my project for ClickOnce Deployment.

I also read that is it a part of Windows SDK - but when I looked to find where SignTool.exe is - I saw it right there!

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin 

I saw no problem, and I've always published my Project all the time - I'm on Version 68. But this is the first time I've seen this - I didn't touch any options that would do this.

Any help?

like image 485
Alex Avatar asked Sep 25 '11 20:09

Alex


People also ask

Where is Signtool EXE located?

The tool is installed in the \Bin folder of the Microsoft Windows Software Development Kit (SDK) installation path (Example: C:\Program Files (x86)\Windows Kits\10\bin\10.0. 19041.0\x64\signtool.exe).

How do I get Signtool EXE?

In Visual Studio components list find "Universal Windows App Development Tools", open the list of sub-items and select "Windows 10 SDK (10.0. 10240)". As josant already wrote - when the installation finishes you will find the SignTool.exe in the folders: x86 -> c:\Program Files (x86)\Windows Kits\10\bin\x86.

What is Signtool EXE?

Sign Tool is a command-line tool that digitally signs files, verifies signatures in files, and time-stamps files. This tool is automatically installed with Visual Studio. To run the tool, use Visual Studio Developer Command Prompt or Visual Studio Developer PowerShell.

Where is Signtool Visual 2019?

Once Visual Studio is installed you can run the signtool command from the Visual Studio Command Prompt. By default (on Windows 10) the SignTool will be installed at C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe .

How do I run signtool from Visual Studio?

Once Visual Studio is installed you can run the signtool command from the Visual Studio Command Prompt. By default (on Windows 10) the SignTool will be installed at C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe. ClickOnce Publishing Tools Installation: SignTool Location:

What does signtool error 2 mean?

Error 2 An error occurred while signing: Failed to sign SignTool Error: No certificates were found that met all the given criteria. Earlier it was working fine. Rahul M... The error comes due to SignIn tool not able to found the certificate or the certificate expired.

Why am I getting a certificate error in signin tool?

The error comes due to SignIn tool not able to found the certificate or the certificate expired. To See if the certificate is expired or not, open project properties and go to Signing in Left menu.

Where can I find the signtool?

By default (on Windows 10) the SignTool will be installed at C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe. I have Visual Studio 2017 Enterprise and I didn't find this option. Thanks. I found it in C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\arm64


2 Answers

ClickOnce Publishing Tools are not installed as part of the Typical Installation Options. So you have to install it in advanced mode. ClickOnce installation

This dialog can be found in Windows 7 by going to Control Panel > Uninstall a program, right-clicking on Microsoft Visual Studio Professional 2015 and selecting Change. A Visual Studio dialog will open up. Select Modify from the set of buttons at the bottom and the above dialog will appear.

like image 160
Alex Erygin Avatar answered Oct 15 '22 21:10

Alex Erygin


Please Click Once application --> Properties --> Signing -> Unchecked the Sign the ClickOnce manifests.

Problem will be solved.

Note: Be aware that this solution removes security from your project. Seek assitance from a more learned colleague before doing so.

like image 42
Vignesh Avatar answered Oct 15 '22 20:10

Vignesh