title: How to sign the output executable during the build process in Visual Studio?
body: <p>When I use a <code>strong name key file</code> as indicated in the project properties, it requires that all referenced assemblies to also use such a similar signature.</p>
  
  <p>But what I want is to sign using the WinDDK <code>Signtool.exe</code>. This I already do manually, but I also want to debug sign assemblies, and the best way of doing that is including the signature in the build, probably as a <code>AfterBuild</code> step.</p>
  
  <p>The problem is I don't know how to create a <code>AfterBuild</code> step</p>