the problem is that Signing
tab only signs setup.exe - but not the actual application.exe
file. This way you don't get a "warning" prompt when you install the app, but you get it when you run it. You need to sign application.exe
separately - and there is no UI for that in Visual Studio, you need to use PostBuild task: https://stackoverflow.com/a/18636102/1246870
How Do you Apply DigiCert EV Certificate to ClickOnce Application
-
11-10-2022 - |
Question
OK, so I have this certificate, but am confused about how to apply it to my application.
I went to the Visual Studio properties page and clicked on "signing". I checked the box that says "Sign the ClickOnce manifests" I was able to select my EV certificate from the store. All the information shows up in the "certificate box, including "Issued by: DigiCert EV code signing". I filled in the timestamp URI with the one supplied by DigiCert.
I then proceed to publish the application, but when I install it I still get "unknown publisher" and Windows 8 SmartScreen filter throws a warning.
Obviously I am either doing something wrong or there is something more I need to do, I just don't know what it is.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow