Publishing and Signing WinForms Apps

dot what?

Use (2024) .NET 8.0.

##Visual Code

Digital Signing

  • Digicert hardware key must be physically present (no private key in software now allowed)
  • Sign .exe and .msi of the app (?)
  • Ensure your clock is correct!

Advanced Installer with a Software Private Key

signtool.exe sign /a /d "[|ProductName]" /fd SHA256 /tr "http://timestamp.digicert.com" /td sha256

Advanced Installer with a hardware key from Digicert

Cannot automatically sign. Probably is a way. Instead, use digicert.exe to manaually sign .exe and .msi

Leave a Reply

Your email address will not be published. Required fields are marked *