How do I sign a C# Winforms project? RRS feed

  • Question

  • Since I intalled a new computer, my project doesn't compile due to a certificate error because the self-signed certificate I use is linked to the previous user/computer. I'm not used to certificates/signing, I don't use it much and I don't remember how I did on the previous computer.

    I tried following

    but at the last step, I get: ERROR: Cannot find certificates that match the key. (Error Code = 0x80070490)

    I also see that this procedure is deprectated so I looked for another procedure, but everything I find seem to include the creation of some Windows Store installation package ... I'm actually only compiling the project with VS and then use a third party installation creator.

    All I want is to create .cer file that I can direct VS to in project "Properties" > "Signing" > "Sign the ClickOnce manifests", then I package an installation .exe file using an Installer creator called "Inno setup" ... so that the .exe file install smoothly on user computers ...

    How am I supposed to do?

    • Edited by TMxm Friday, February 8, 2019 6:52 PM
    Friday, February 8, 2019 6:51 PM

All replies

  • Hi TMxm,

    Since it is related to the Winform project, and for the click once issue, you could post it to this forum:

    There you would get dedicated support.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, February 22, 2019 3:58 AM