I am trying to sign an output program from my Visual Studio 2019 build with my recently issued certificate. However, I get the following error:
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: SignerSign() failed." (-2146893779/0x8009002d)
I get the following error both within Visual Studio (using the Signing page for the project properties) and through the CLI tool. I did try running the command with debug as a flag, but it ends up stuck in the same error message above. I have successfully signed the software with a test certificate.
I’ve tried looking online for support but cannot find helpful information.
Are there any experts in Code Signing for C# projects for Visual Studio that could help me out?