无法将DialogAPI添加到Outlook加载项清单

时间:2019-09-09 17:42:34

标签: outlook-addin office-js office-addins

我不会在我的Outlook插件中使用displayDialogAsync,但是当我添加DialogAPI来体现时:

  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="Mailbox" MinVersion="1.4"/>
      <Set Name="DialogAPI"/>
    </Sets>
  </Requirements>

我收到以下错误:This app can't be installed. The Requirements element can only include one Set element. The name of the Set element must be 'Mailbox'..

我在做什么错了?

1 个答案:

答案 0 :(得分:2)

displayDialogAsync API包含在邮箱1.4和DialogApi中,因此您只需要邮箱1.4。有关更多信息,请参见displayDialogAsync。向下滚动到备注 | 需求集