We have a winforms clickonce application in C# which is granted full trust and signed using a valid certificate.
The application runs fine and updates correctly on W
We had the same problem and ended up using the InPlaceHostingManager class. It's made for installing or updating a ClickOnce deployment. GetManifestAsync()
fires the GetManifestCompleted
event, which gives you the version number. Then you can call DownloadApplicationAsync()
and handle the DownloadApplicationCompleted
event. So far this works and no TrustNotGrantedException is thrown.