I have a ClickOnce application (.NET Framework 4.7.2) which is signed with a code signing certificate.
Only the ClickOnce is signed (.manifest and .application) and not the executable ('Sign the assembly' is not checked in project settings, only 'Sign the ClickOnceManifests' is enabled).
I publish the application using the VS2019 Publish Wizard to a temp folder.
When I double-click on the .application file I get the click-once installation dialog which states:
Publisher cannot be verified
Publisher: Unknown Publisher
I've checked the following:
1. The root certificate is in Trusted Root Certification Authorities store (I've tried both in User and Machine store)
2. I've tried placing the code-signing certificate (just the public key) in Trusted Publishers store (I've tried both in User and Machine store)
I do not know what else to do here.
What could be the problem?
Using Windows 10 version 2004 (OS Build 19041.630).