Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

How to: Launch Signtool.exe as a Post-Build Event (Devices) 

Run signtool.exe as a post-build event when other post-build events change the original binaries. Changes to signed binaries invalidate the original signing.

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To launch signtool.exe as a post-build event in Visual Basic and Visual C# device projects

  1. In Solution Explorer, right-click the project, and then on the shortcut menu, click Properties.

  2. On the Build Events page (Visual C#) or the Compile page (Visual Basic), click Edit Post-build.

  3. In the Post-build Event Command Line dialog box, type the signtool command line with the options you select.

    For more information on running signtool from the command line, see SignTool.

To launch signtool.exe as a post-build event in Visual C++ device projects

  1. In Solution Explorer, right-click the project, and then on the shortcut menu, click Properties.

  2. Under Configuration Properties, expand the Build Events node.

  3. Click Post-Build Event.

  4. Select the Command Line property, and then click the ellipsis button () to open the Command Line dialog box.

  5. Type the signtool command line with the options you select.

    For more information on running signtool from the command line, see SignTool.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft