Visual Studio Outlook插件获取System.Data.sqlite.dll的计算哈希与清单中指定的不同
we have created outlook plugin based project in Visual studio, when we installing plugin with OutlookAddin.vsto file while we are getting an error
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此问题的原因是“ system.data.sqlite.dll”,在重新签名可执行您的可执行文件后,获得了新的哈希。 data.sqlite.dll“与清单中指定的哈希相同。
要解决此问题,您需要使用 mage.exe> mage.exe 。
您还可以尝试以下解决方案,在此解决方案可以在
afterCompile
目标中签名。您可以在最终项目关闭标签之前使用以下元素(请参阅项目的内容)。在 Windows 8和Clickonce:重新访问的确定答案文章。
The reason for this problem is the file "system.data.SQLite.dll" get the new hash after you re-sign your executable, this cause "system.data.SQLite.dll" have a different hash than specified in the manifest.
To resolve this problem, you need to update or regenerate the application manifest using mage.exe.
You can also try below solution where you could sign the executable in the
AfterCompile
target. You can use the following element before the final project close tag (see your project's content).Read more about that in the Windows 8 and ClickOnce : the definitive answer revisited article.