I'm having a little problem.
I have a code signing certificate, that I want to use for signing my generated .exe file.
When I open the Signing property page for me project, I only have two signing options:
"Sign the ClickOnce manifest" and "Sign the assembly"
The last one doesn't have anything to do with anthenticode, but only Strong name signing.
So, how do I tell Visual Studio to sign the generated assembly with my authenticode certificate/private key?
-
-
Use the PostBuild event of the project to call signtool.exe.
You can also do this on the PostBuild event of a setup kit to sign an MSI file.
SimonJ -
Ahh, hehe, didn't think of that

Thought it was implemented directly into the IDE.
-
GurliGebis wrote:
Ahh, hehe, didn't think of that

Thought it was implemented directly into the IDE.
If you already have a "proper" build script and not just a command line call you should look at the SDC Build Tasks, which should have a signing task.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.