Path to SignTool.exe or “Windows Kits” directory when using Visual Studio 2012

前端 未结 7 1805
-上瘾入骨i
-上瘾入骨i 2021-01-30 09:04

How do you get the path to SignTool.exe when using Visual Studio 2012?

In Visual Studio 2010, you could use



        
7条回答
  •  面向向阳花
    2021-01-30 09:21

    Ok, because this was the first hit on google for "SignTool.exe not found on buildserver", I will add additonal Info for VisualStudio 2015 and Windows 10 Enterprise 64bit.

    I had to add the ClickOnce Publishing Tools in VisualStudio Setup:

    After this you find signtool.exe in

    • c:\Program Files (x86)\Windows Kits\8.1\bin\x64\
    • c:\Program Files (x86)\Windows Kits\8.1\bin\x86\
    • c:\Program Files (x86)\Windows Kits\8.1\bin\arm\

    With Visual Studio 2017 installed it is found in

    • C:\Program Files (x86)\Windows Kits\10\bin\arm\signtool.exe
    • C:\Program Files (x86)\Windows Kits\10\bin\arm64\signtool.exe
    • C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe
    • C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe

    And with Visual Studio 2017 15.7.4 the Path changed again according do the selected Windows 10 Kit you install.

    You will get the path generic by starting the Developer Command Prompt for Visual Studio 2017

    and type in where signtool.exe

提交回复
热议问题