SignTool Error: An unexpected internal error has occurred. error MSB3482
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3975,5): error MSB3482: An error occurred while signing: Failed to sign bin\Debug\app.publish\Halmanac.exe. SignTool Error: An unexpected internal error has occurred.
The error is the clickonce publish process for a winforms application in C# with clickonce deployment using a Code Signing Certificate from GoDaddy. The Certificate is good and current - expires 09-22-2020. If I remove the certificate (uncheck code signing), the error goes away and I can publish the exe. I want the certificate to prevent installation problems.
The application has been running for many years with minor changes each year. When I got the error, I restored a 6 months old copy that had been deployed with the certificate and I got the same error. Therefore, something has changed on the computer. I am running a current version of Windows 10.
How do I troubleshot this problem?
What do you recommend I do?