Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install SignTool.exe for VS 2017?

After upgrade to VS 2017 i got "Error An error occurred while signing: SignTool.exe not found." But only using MSbuild on the Visual Studio publish there's no problem.

I already checked folder "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin" and in fact there's no SignTool.exe present. But there was before installing VS2017, any ideas?

I followed this issue but no luck How to install SignTool.exe for Windows 10

like image 638
Vitor Silva Avatar asked Apr 26 '17 14:04

Vitor Silva


People also ask

How do I install 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.

Where is SignTool exe located?

Based on your installation path of the SDK, this is where SignTool is on your Windows 10 PC: x86: C:\Program Files (x86)\Windows Kits\10\bin\<sdk version>\x86\SignTool.exe.

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.


3 Answers

C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool> This is where its there in my System.

like image 114
achand8238 Avatar answered Oct 04 '22 01:10

achand8238


Start Developer Command Prompt for VS 2017 then it is in the path variable signtool

That seems to do the trick, now the problem is with setup.bin file.

error MSB3147: Could not find required file 'setup.bin' in csproj folder

like image 45
Vitor Silva Avatar answered Oct 04 '22 01:10

Vitor Silva


Signtool is included with the Windows 10 SDK

  1. Open Visual Studio installer.

  2. Switch to the "Individual Components" tab

  3. Choose the version of the SDK that suits your needs.

enter image description here

Multiple copies may be installed.

enter image description here

like image 44
Kuffs Avatar answered Oct 04 '22 01:10

Kuffs