office-addin-validator
v1.0.5
Published
Tool to help validate Microsoft Office Add-in manifest files.
Downloads
43,100
Readme
Microsoft Office Add-in Manifest Validator
This validator is designed to help ensure that the manifest file that describes your Office Add-in is correct and complete. Microsoft includes rich development and validation tools for Office related projects in Visual Studio 2015. Similarly, this command-line validator helps developers:
- Get insight on common failure points in manifest
- Understand against what platforms to test your add-in
- Stay up-to-date on store requirements, etc.
This validator calls into the same validation service as the Office store, so that developers get the most up-to-date and accurate feedback from Office. The manifest checks done by the service include:
- Checks for mandatory namespaces
- XML schema validation
- Office App Compatibility checks (e.g. checking if urls are HTTPS)
Note: Because it calls into the store, you must be connected to the internet in order to use this tool.
If you are interested in contributing, read the Contributing Guidelines.
Installation
Important: If this is the first time you're using this tool, first install Node.js. For developers on Mac, we recommend using Node Version Manager to install Node.js with the right permissions. When the installation completes, restart your console (or if you are using Windows, restart your machine) to ensure you use the updated system environment variables.
Install office-addin-validator
globally using NPM:
npm install -g office-addin-validator
Usage
$ validate-office-addin your_manifest.xml
Note: At this time, we only support validation on manifest files that lives on your local drive.
Copyright (c) 2017 Microsoft Corporation. All rights reserved.