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

这是outlook加载项中无效的xsi:type DetectedEntity,outlook,office-js,office-addins,outlook-web-addins,Outlook,Office Js,Office Addins,Outlook Web Addins,我试图在outlook邮件(web和桌面)中读取邮件时检测模式,因此我决定添加DetectedEntity扩展点,但我在web上不断遇到以下错误,桌面office 2016也无法正常工作 无法安装此应用程序。清单文件不符合 模式定义。这是无效的xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:DetectedEntity'... 这是无效的xsi:type 'http://schemas.microsoft

我试图在outlook邮件(web和桌面)中读取邮件时检测模式,因此我决定添加
DetectedEntity
扩展点,但我在web上不断遇到以下错误,桌面office 2016也无法正常工作

无法安装此应用程序。清单文件不符合 模式定义。这是无效的xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:DetectedEntity'... 这是无效的xsi:type 'http://schemas.microsoft.com/office/mailappversionoverrides:DetectedEntity"

清单


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

仅在VersionOverrides V1\u 1中受支持,如果您使用的是V1\u 0,则会引发此错误


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

Oh!谢谢!我完全错过了。使用官方的git样本实现了这一点,但我很高兴看到了差异。谢谢
  <!-- 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>