我已经查看了几个关于如何安装 Com 插件的文档,但我仍然遇到测试问题。我使用 Visual Studio Ultimate 2010 创建了一个加载项。我发布了加载项,然后运行 Outlook 的安装程序。当我查看 COM 加载项列表时,我看到了已安装的加载项,但尽管它是一个功能区实用程序,但我似乎无法找到它来添加到我的功能区中。我错过了什么吗?一位不再和我们在一起的老同事制作了一个类似的插件,当我想要自定义我的功能区时,我可以看到他创建的按钮作为添加到其他功能区选项卡的选项,但我仍然找不到我的。
更新:这是功能区 xml
<hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.Outlook.OutlookAddInBase" hostitem:namespace="BookIt" hostitem:className="ThisAddIn" hostitem:identifier="ThisAddIn" hostitem:primaryCookie="AddIn" hostitem:master="true" hostitem:factoryType="Microsoft.Office.Tools.Outlook.Factory" hostitem:startupIndex="0" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd">
<hostitem:hostObject hostitem:name="Application" hostitem:identifier="Application" hostitem:type="Microsoft.Office.Interop.Outlook.Application" hostitem:cookie="Application" hostitem:modifier="Internal" />
<hostitem:hostControl hostitem:name="CustomTaskPanes" hostitem:identifier="CustomTaskPanes" hostitem:type="Microsoft.Office.Tools.CustomTaskPaneCollection" hostitem:primaryCookie="CustomTaskPanes" hostitem:modifier="Internal" />
</hostitem:hostItem>