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
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.
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.
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.
C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool>
This is where its there in my System.
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
Signtool is included with the Windows 10 SDK
Open Visual Studio installer.
Switch to the "Individual Components" tab
Choose the version of the SDK that suits your needs.
Multiple copies may be installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With