Xml Outlook清单在web Outlook中的功能,赢得';无法在桌面Outlook中正确安装

Xml Outlook清单在web Outlook中的功能,赢得';无法在桌面Outlook中正确安装,xml,outlook,add-in,outlook-web-addins,Xml,Outlook,Add In,Outlook Web Addins,我正在开发Outlook加载项。到目前为止,我一直在使用web版本,但我的理解是,在web中运行的清单应该自动在桌面上运行 然而,我遇到了一个问题,我在桌面上安装了我的外接程序,它成功了,但随后立即消失了。如果我再次转到“获取加载项”页面并转到我的加载项,我刚才安装的加载项将不会显示 这个外接程序在web outlook中功能齐全,所以我根本不确定问题出在哪里。我已经尝试使用 npx office-addin-manifest validate MANIFEST_FILE 但是它通过了这个。我

我正在开发Outlook加载项。到目前为止,我一直在使用web版本,但我的理解是,在web中运行的清单应该自动在桌面上运行

然而,我遇到了一个问题,我在桌面上安装了我的外接程序,它成功了,但随后立即消失了。如果我再次转到“获取加载项”页面并转到我的加载项,我刚才安装的加载项将不会显示

这个外接程序在web outlook中功能齐全,所以我根本不确定问题出在哪里。我已经尝试使用

npx office-addin-manifest validate MANIFEST_FILE
但是它通过了这个。我也尝试过启用运行时日志记录,但如果在日志记录时安装它,我只会得到一个空日志文件。我不知道接下来该怎么办。我已经确认相同的问题发生在另一台机器上

我怀疑这可能与VersionOverrides 1.1的使用有关(我们使用它来支持将任务窗格固定为打开状态),但我不知道为什么这会导致桌面出现问题。除去参考资料部分,我们的按钮/选项卡是用VersionOverrides 1.1部分定义的

感谢对进一步调试的任何建议

<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp 
  xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" 
  xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" 
  xsi:type="MailApp">


  <!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
  <Id>d0aa58bd-1618-45ed-a773-9e8353a85215</Id>

  <Version>1.0.0.0</Version>
  <ProviderName>Test Name</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Onvio Add-In" />
  <Description DefaultValue="Onvio Outlook Add-In For Interaction With Document Management Service"/>
  <IconUrl DefaultValue="https://img.icons8.com/clouds/2x/cloud-network.png" />
  <HighResolutionIconUrl DefaultValue="https://d1nhio0ox7pgb.cloudfront.net/_img/g_collection_png/standard/256x256/earth.png" />


 <SupportUrl DefaultValue="https://localhost:4200"/>
  <!--End Basic Settings. -->

  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://localhost:4200"/>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Resources>
      <bt:Images>
        <bt:Image id="Onvio.PaneButton.Icon" DefaultValue="https://i.imgur.com/FkSShX9.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Onvio.FunctionFile.Url" DefaultValue="https://localhost:4200" />
        <bt:Url id="Onvio.Taskpane.Url" DefaultValue="https://localhost:4200" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Onvio.Pane.Title" DefaultValue="Onvio Side Panel" />
        <bt:String id="Onvio.Pane.Label" DefaultValue="Show Taskpane" />
        <bt:String id="Onvio.Tab.Label" DefaultValue="Onvio Tab Label" />
        <bt:String id="Onvio.OpenedMessageTools.Label" DefaultValue="Onvio.OpenedMessageTools.Label" />
        <bt:String id="Onvio.ComposeMessageTools.Label" DefaultValue="Onvio.ComposeMessageTools.Label" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Onvio.Pane.Description" DefaultValue="Onvio Side Panel Description" />
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Description resid="residDescription" />
      <Requirements>
        <Sets xmlns="http://schemas.microsoft.com/office/officeappbasictypes/1.0">
          <Set Name="Mailbox" MinVersion="1.1" />
        </Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="Message" xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1">
                  <Label resid="Onvio.ComposeMessageTools.Label" />

                  <Control xsi:type="Button" id="Onvio.ComposePane.Button">
                    <Label resid="Onvio.Pane.Label" />
                    <Supertip>
                      <Title resid="Onvio.Pane.Title" />
                      <Description resid="Onvio.Pane.Description" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Onvio.PaneButton.Icon" />
                      <bt:Image size="32" resid="Onvio.PaneButton.Icon" />
                      <bt:Image size="80" resid="Onvio.PaneButton.Icon" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Onvio.Taskpane.Url" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <CustomTab id="Onvio.OpenedMessageTools.Tabs">
                <Group id="Onvio.OpenedMessageTools.Group" xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1">
                  <Label resid="Onvio.OpenedMessageTools.Label" />
                  <Control xsi:type="Button" id="Onvio.Pane.Button">
                    <Label resid="Onvio.Pane.Label" />
                    <Supertip>
                      <Title resid="Onvio.Pane.Title" />
                      <Description resid="Onvio.Pane.Description" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Onvio.PaneButton.Icon" />
                      <bt:Image size="32" resid="Onvio.PaneButton.Icon" />
                      <bt:Image size="80" resid="Onvio.PaneButton.Icon" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Onvio.Taskpane.Url" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
                <Label resid="Onvio.Tab.Label" />
              </CustomTab>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>

d0aa58bd-1618-45ed-a773-9e8353a85215
1.0.0.0
测试名称
恩美
读写项目
假的
真的
真的

您是否对OWA(web)和桌面Outlook使用相同的邮箱帐户?为用户安装加载项后,该加载项应可跨邮箱工作。另一种可能是桌面Outlook的版本不支持您的加载项。你能分享Outlook的版本号和平台吗?您使用的是Office 365还是Exchange内部部署邮箱?是的,我使用的是OWA和desktop Outlook的同一邮箱帐户。我们使用的是Office365,我的桌面版本是Windows1064位上的“版本1902(版本11328.20468)”。如果您需要任何其他信息,请告诉我!您可以共享您的清单吗?刚刚编辑了我的原始帖子以包含它。将资源从VersionOverridesV1\u 0移动到VersionOverridesV1\u 1,它应该位于Hosts对象之后。这在Outlook桌面和OWA中适用。