Only two users get the error "...dll has different computed hash than specified in manifest"

39 Views Asked by At

My WPF app won't start for two new users. It's ClickOnce deployed and runs from the company network (not installed). The error is "WPF.Themes.dll has a different computed hash than specified in manifest." Another dll name appears in the error if I remove WPF.Themes.dll. The error seems accurate when I compare the dll hash to the manifest, so why does the app still run for other users (as it has for 10 years)? It fails on two Win 11 pcs that have the pre-requisite .Net 4.0 Client installed (and .Net 4.0 full). It runs on other Win 11 computers. It is not signed. "Enable ClickOnce security settings" is checked/enabled, and when I uncheck that box, Save, and Publish the box is automatically re-checked. I tried changing Publish->Application Files->Hash from Include to Exclude for the DLL but the error still occurs. I have deleted the users cache at %LocalAppData%\Apps\2.0 and the error still occurs. I've been able to run other WPF applications on the problem PC. This is a real struggle and any help/suggestions are greatly appreciated.

0

There are 0 best solutions below