The install failed with "the file MarcusLaw.OutlookAddin.dll.config has
a computed hash different from the one specified in the manifest" because
git's core.autocrlf=true normalized the dll.config.deploy file from CRLF
(as VS wrote it) to LF in the index. End users downloading via setup.exe
from the Gitea raw URL got the LF version, whose SHA-1 differs from the
hash recorded in dll.manifest at publish time.
Add a .gitattributes that:
- marks Publish/** as -text (no normalization, ever)
- belt-and-braces marks *.deploy / *.manifest / *.vsto / *.application
/ *.pfx as binary globally
git add --renormalize re-staged dll.config.deploy with its real CRLF
bytes, so the hash in the manifest now matches the file on Gitea.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>