How do you get the path to SignTool.exe when using Visual Studio 2012?
In Visual Studio 2010, you could use
This approach I'm using just relies on the standard build events:
powershell -Command "(Resolve-Path \"C:\Program Files (x86)\\Windows Kits\\10\\bin\\*\\x64\" | Select-Object -Last 1).Path" > stpath
set /p STPATH=
It will cope with new paths as new Windows SDKs get installed and pick the latest one.