It is mentioned on this page that:
If you don't specify the Hosts element, your add-in will run in all Office applications supported by Office Add-ins.
But it seems a manifest file can't be shared by Excel and Outlook:
xsi:type attribute of OfficeApp element accepts either, ContentApp, TaskPaneApp, or MailApp. It sounds like we have to make a choice between Outlook and other Office applications.Permissions element explicitly separates mail add-in from other add-ins.Could you confirm and update the page with a table of what Office applications can share a manifest file?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@yanli0303 Yes, you're right, the manifest allows you to support Outlook (MailApp) or other Office applications but not both. We'll take a look at updating the documentation.
Thanks.
@yanli0303 The doc updates should be published by the end of this week. Thanks.