none
Error validating manifest file RRS feed

  • Question

  • Greetings,

    I'm trying to submit an add-in to the store and can't get past the validation step for the manifest file. The error says:

    Your manifest does not adhere to the current set of XML schema definitions for Office Add-in manifests.Learn more

    The element 'Resources' in namespace 'http://schemas.microsoft.com/office/taskpaneappversionoverrides' has invalid child element 'Urls' in namespace 'http://schemas.microsoft.com/office/officeappbasictypes/1.0'.

    When I check the schema here it actually says other wise:https://msdn.microsoft.com/en-us/library/mt487013(v=office.12).aspx

    Also I see sample code on Microsoft's site using the same Urls element so it seems like either the schema or the validation tool is outdated. Please help. Thank you.



    Wednesday, May 10, 2017 8:24 PM

Answers

  • Hello,

    Would be nice to see your manifest through, but according the error provided I can speculate on the following ...

    1. You have "URLs" as the first node of the "Resources" parent. This is incorrect as of according to schema you have sequence of four tags, you need to follow and respect the order.

    2. You have defined "Resources" outside of "VersionOverrides" in the basic manifest properties.

    Well may be something else, but manifest.xml would clarify everything.


    Slava Ivanov

    Wednesday, May 10, 2017 9:48 PM

All replies

  • Hello,

    Would be nice to see your manifest through, but according the error provided I can speculate on the following ...

    1. You have "URLs" as the first node of the "Resources" parent. This is incorrect as of according to schema you have sequence of four tags, you need to follow and respect the order.

    2. You have defined "Resources" outside of "VersionOverrides" in the basic manifest properties.

    Well may be something else, but manifest.xml would clarify everything.


    Slava Ivanov

    Wednesday, May 10, 2017 9:48 PM
  • Thank you Slava! I changed the order of the the URLs to match the schema and the validation passed.
    Thursday, May 11, 2017 1:49 AM