Is there a way to automatically sign a C++ executable generated by Visual Studio 2008? I couldn't find anything similar to the "signing" tab in Properties that exists for managed apps.
Any ideas? I want to automatically sign my executable when it's built (using msbuild command line).
To build your program and create teh executable file choose Build My Project.exe from the Build menu - "My Project" represents teh name you chose for your project and the extension ".exe" is used to designate that the file being created will be an executable file.
You sign an application or component by using the Signing tab of the project properties window (right-click the project node in Solution Explorer and select Properties). Select the Signing tab, then select the Sign the assembly check box. Specify a key file.
A digital signature is used to help authenticate the identity of the creator of digital information — such as documents, e-mail messages etc. — by using the cryptographic algorithms. When a . dll and/or .exe file is digitally signed by a signer, you can confirm the same from the said file's properties.
Use signtool (http://msdn.microsoft.com/en-us/library/8s9b9yaz%28VS.80%29.aspx) in a post-build step
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With