| Previous | Next |
| ERROR_PRI_MERGE_MAIN_PACKAGE_REQUIRED | ERROR_PRI_MERGE_INVALID_FILE_NAME |
ERROR_PRI_MERGE_RESOURCE_PACKAGE_REQUIRED
Packages for a PRI file merge must include at least one resource package.
ERROR_PRI_MERGE_RESOURCE_PACKAGE_REQUIRED is Win32 error 15157 (0x00003B35) in Package Resource Index (PRI) merge processing.
Likely impact: Creating an empty synthetic resource package merely to satisfy the command would add useless deployment complexity.
Typical causes
- artifact discovery found only the main PRI.
- resource packages were not built.
- filters excluded all language or scale packages.
- the wrong command is used when no merge is necessary.
Troubleshooting steps
- Verify that the operation includes at least one compatible resource package when using the merge workflow.
- Collect main package identity and resource package inventory.
- Correlate build configuration and target languages with MakePri command line, input PRI inventory, package identities, schemas, file hashes, output path, tool version, and the first detailed merge diagnostic.
Useful evidence
- Collect artifact filter logs.
- Collect MakePri command mode.
Recovery and retry
Build and include the intended resource package, or skip the merge operation when only the main PRI is required.
Related errors
ERROR_PRI_MERGE_MAIN_PACKAGE_REQUIRED is the inverse missing-role condition
Example
A single-language build invokes the resource-package merge step even though it produced only the main PRI. The pipeline skips merge for that configuration.
References
Looking for a different code? Search another status or error code.
