An error occurred while signing: SignTool.exe not found

Alex picture Alex · Sep 25, 2011 · Viewed 148.4k times · Source

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?

Answer

Alex Erygin picture Alex Erygin · Sep 20, 2015

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.