I am deploying an app using click once where I would like to disable hash validation of the assemblies included. Is there a way to do this from visual studio or do I need another tool to do it? Thank you!
Please note that this is about hashing - not signing!
Yes, there are two ways to do this:
Manually: simply remove the hash-XML-elements within the .manifest file. Note that if you modify the .manifest-File, the hash of that .manifest-file also gets different. So the hash-XML-Element regarding the .manifest-file needs to be removed within the .application file, where it references the .manifest.
Visual Studio: On the publish tab, click on "application files...". The right column says "Hash(include)". Just set the files to "exclude", if you want to change them afterwards.
Official documentation: http://msdn.microsoft.com/en-us/library/che5h906.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With