What does HRESULT 0x80080213 (APPX_E_RESOURCESPRI_NOT_ALLOWED) mean?

 
Previous Next
APPX_E_INVALID_PACKAGESIGNCONFIG APPX_E_FILE_COMPRESSION_MISMATCH

APPX_E_RESOURCESPRI_NOT_ALLOWED

APPX_E_RESOURCESPRI_NOT_ALLOWED means that the package includes resources.pri but the manifest does not declare resource elements that permit it. The package footprint and manifest metadata are inconsistent.

Correct the package model

  • Remove an unnecessary resources.pri from the packaging input, or declare the required resource elements in the manifest.
  • Verify that build rules do not copy stale PRI output from an earlier configuration into the package.
  • Rebuild the package and validate it before signing.

Do not suppress the error: resource metadata must agree with the package footprint.

Microsoft: troubleshoot Windows app packages


Looking for a different code? Search another status or error code.