DEV Community

Dev365
Dev365

Posted on

Validating an Office add-in's manifest file

The Office add-ins manifest validator examines your add-in's manifest file to determine if it's correct and complete.
If you created your add-in project using the Yeoman generator for Office add-ins (version 1.1.17 or later),
you can validate the manifest by running the following command in the root directory of the project.

Console

npm run validate

If you didn't use the Yeoman generator to create your add-in project, you can validate your add-in's manifest by completing the following steps.

  • Install Node.js.

  • Run the following command in the root directory of your project.

Important
Replace MANIFEST_FILE with the name of your manifest file.

Console

npx office-addin-manifest validate {{MANIFEST_FILE}}

Top comments (0)