| Previous | Next |
| ERROR_MRM_UNSUPPORTED_DIRECTORY_TYPE | ERROR_MRM_NAMED_RESOURCE_NOT_FOUND |
ERROR_MRM_INVALID_PRI_FILE
ERROR_MRM_INVALID_PRI_FILE means the resource-management runtime could not treat the specified file as a valid Package Resource Index. A PRI is data-only and contains the resource map and its candidates.
What to check
- Run a PRI dump to determine whether the file can be read as an index.
- Verify that the file belongs to the same package build and was not truncated or replaced during deployment.
- Rebuild the PRI from the project resources if the dump or build logs show an indexing problem.
makepri dump /if resources.pri /of resources.pri.xml
Microsoft: Resource Management System and PRI files
Microsoft: MakePri.exe command-line options
Microsoft: MakePri.exe configuration file
Looking for a different code? Search another status or error code.