Is adding just a Hosts element as a child element under version 1.0 of VersionOverrides a valid way to prevent our addin from appearing in Outlook for Mac

Mark 0 Reputation points
2025-04-24T06:46:00.4933333+00:00

By accident, we found that if we add a Hosts element as a child element of VersionOverrides version 1.0 in the manifest, it will prevent the addin from appearing in Outlook for Mac and classic Outlook for Windows.

See below

...
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
      <Hosts>
        <Host xsi:type="MailHost">
        </Host>
      <Hosts>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" 
  xsi:type="VersionOverridesV1_1">
  ...
    </VersionOverrides>
  </VersionOverrides>

Is this a valid and acceptable way to achieve our goal of preventing the addin from appearing in Outlook for Mac or classic Outlook for Windows? Why?

There doesn't seem to be any documentation out there referring to this and we want to make sure we are doing it properly.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,344 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.