How to install SignTool.exe for VS 2017?

痞子三分冷 提交于 2020-02-01 01:37:16

问题


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


回答1:


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.

Multiple copies may be installed.




回答2:


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




回答3:


The all solutions didn't worked for me ; finally i just copied signtool.exe to the project folder and then worked. You can download the signtool.exe from internet or install Windows 10 SDK by visual studio installer and then copy from "C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool".




回答4:


I found it under C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin

It could be because it was there before the vs2017 installation.

It doesn't harm to check :)




回答5:


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



来源:https://stackoverflow.com/questions/43636484/how-to-install-signtool-exe-for-vs-2017

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!