I'm creating an Outlook add-in, and I want to try out the new module extension. However, following the example from: https://dev.office.com/docs/add-ins/outlook/extension-module-outlook-add-ins, I get an error when creating the manifest.
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
...
</VersionOverrides>
</VersionOverrides>
the error occurs on the second VersionOverrides with the message:
"The element 'VersionOverrides' in namespace 'http: // schemas microsoft com/office/mailappversionoverrides' has invalid child element 'VersionOverrides' in namespace 'http:// schemas microsoft com/office/mailappversionoverrides/1.1'. List of possible elements expected: 'Description, Requirements, Hosts' in namespace 'http:// schemas microsoft com/office/mailappversionoverrides'."
since I can't post more than 2 links, I have replaced the . in the URLs with spaces.
It seems odd to me to include a versionoverride inside a versionoverride, but if I change the first one by any means, VS won't accept it as following the schema. Likewise, if I don't include the second versionoverride, VS gives the following error:
"This is an invalid xsi:type 'http:// schemas microsoft com/office/mailappversionoverrides:Module'."
The rest of the manifest i almost symmetrical to the example from officeDev, apart from elements like Title and Id.
What am I doing wrong?