Tech Off Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Authenticode signing application from VS2005

Back to Forum: Tech Off
  • User profile image
    GurliGebis

    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?

  • User profile image
    SimonJ

    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

  • User profile image
    GurliGebis

    Ahh, hehe, didn't think of that Smiley

    Thought it was implemented directly into the IDE.

  • User profile image
    blowdart

    GurliGebis wrote:
    

    Ahh, hehe, didn't think of that Smiley

    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.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.