verify command to verify that the contents of the touch adaptation bundle are valid with the options shown in the following table.
Bundle Verification Levels
The verify command (and the verification stage of thepack and serve commands) informs the caller of any issues with the touch adaptation bundle. This verification process employs the following classification of issues to help guide the developer towards a fully functioning bundle.
Error
Errors in verification mean that something is wrong with the bundle. It is extremely likely that loading the bundle will fail. Examples of this include items like incorrect or unparsable JSON, missing assets, or missing theneutral language. Any errors will block the pack and serve commands unless the --no-verify option is used.
Warning
Verification warnings are items that signal possible problems with the bundle but do not block thepack or serve commands. For example, assets that are in the bundle but not referenced by any layout will produce warnings as this could indicate that the developer has inadvertently included unreleased assets but could also indicate that the developer is in the process of testing out new assets and hasn’t built all of the layouts yet or needs to update the allowedStateValues block.
Warnings will block the ability for your Microsoft Account Representative to submit the bundle.
Examples
Use the following code example to verify a touch adaptation bundle’s validity.Verify a touch adaptation bundle and have no errors
Verify a touch adaptation bundle and specify an expected default layout and have an error when the default layout isn’t present
