ms-office - 部署 VSTO Office 插件时出错

标签 ms-office vsto visio

我在部署 Visio 插件时遇到一些问题。 运行 VSTO 文件可以在我的计算机上运行,​​但每当我尝试将其移动到任何其他用户的计算机时,它都会在部署时引发错误。 我认为这可能是我在项目属性中设置的设置,因此我创建了一个全新的插件项目并将其设置为在启动时显示消息框。 我收到的错误是:

An error occured during customization install.
The expected element "addIn" was not found in the XML.

deployment error

最佳答案

这是由 Clickonce 的问题引起的。 我通过使用 MSI 安装插件找到了解决方法。 This Guide提供了很多帮助。

取自有关 msi 安装的注册表设置的部分:

It is important to note the ‘|vstolocal’ value appended to the end of the Manifest value. This informs the VSTO runtime that it is locally installed and to not invoke the ClickOnce installer.

关于ms-office - 部署 VSTO Office 插件时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2728794/

相关文章:

ms-office - 如何在 Excel 功能区中制作清晰的图标?

c# - 如何从 Outlook 功能区上下文菜单中获取当前邮件项目

c# - Outlook 中 "Item Sent"上的事件

javascript - silverlight 内容在 iframe 中不起作用

layout - 如何: Visio SDK page Re-Layout FlowChart Top to Bottom

javascript - 新的 Office 2013 Javascript API 限制

javascript - 从本地 MS Office 应用程序到浏览器的事件

Word 2016 中的正则表达式

c# - VS 2017 文档级加载项构建因 com 可见组件而失败

vba - 使用 Powershell 在 Visio 中部分格式化文本的问题