这是 outlook 加载项中的无效 xsi:type DetectedEntity

This is an invalid xsi:type DetectedEntity in outlook add-in

我试图检测在 outlook 邮件(网络和桌面)中读取消息时的模式,因此我决定添加 DetectedEntity 扩展点,但我在网络上不断收到以下错误它也不适用于 Desktop Office 2016。

This app can't be installed. The manifest file doesn't conform to the schema definition. This is an invalid xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:DetectedEntity'... This is an invalid xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:DetectedEntity'.

清单

  <!-- Message Read -->
  <ExtensionPoint xsi:type="MessageComposeCommandSurface">
    <!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
    <OfficeTab id="TabDefault">
      <!-- Up to 6 Groups added per Tab -->
      <Group id="msgComposeCmdGroup">
        <Label resid="GroupLabel" />
        <!-- Launch the add-in : task pane button -->
        <Control xsi:type="Button" id="msgReadOpenPaneButton">
          <Label resid="TaskpaneButton.Label" />
          <Supertip>
            <Title resid="TaskpaneButton.Label" />
            <Description resid="TaskpaneButton.Tooltip" />
          </Supertip>
          <Icon>
            <bt:Image size="16" resid="Icon.16x16" />
            <bt:Image size="32" resid="Icon.32x32" />
            <bt:Image size="80" resid="Icon.80x80" />
          </Icon>
          <Action xsi:type="ShowTaskpane">
            <SourceLocation resid="Taskpane.Url" />
          </Action>
        </Control>
        <!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
      </Group>
    </OfficeTab>
  </ExtensionPoint>
  <ExtensionPoint xsi:type="DetectedEntity">
    <Label resid="residLabelName"/>
    <!--If you opt to include RequestedHeight, it must be between 140px to 450px, inclusive.-->
    <!--<RequestedHeight>360</RequestedHeight>-->
    <SourceLocation resid="Taskpane.Url" />
    <Rule xsi:type="RuleCollection" Mode="And">
      <Rule xsi:type="ItemIs" ItemType="Message" />
      <Rule xsi:type="ItemHasKnownEntity" EntityType="MeetingSuggestion" Highlight="all" />
      <Rule xsi:type="ItemHasKnownEntity" EntityType="Address" Highlight="none" />
    </Rule>
  </ExtensionPoint>

  <!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>

如何解决问题> 我需要一种方法来实现此功能。

DetectedEntities 仅受 VersionOverrides V1_1 支持,如果您使用 V1_0 将抛出此错误。

包含的 VersionOverrides 元素必须具有 xsi:type 属性值作为 VersionOverridesV1_1。