| Previous | Next |
| ERROR_PRI_MERGE_BUNDLE_PACKAGES_NOT_ALLOWED | ERROR_PRI_MERGE_RESOURCE_PACKAGE_REQUIRED |
ERROR_PRI_MERGE_MAIN_PACKAGE_REQUIRED
Packages for a PRI file merge must include one main package.
ERROR_PRI_MERGE_MAIN_PACKAGE_REQUIRED is Windows status 15156 (0x00003B34) associated with a PRI merge set with no main package.
Likely impact: Resource-only inputs cannot establish the canonical package context.
Typical causes
- only resource-package PRI files were selected.
- the main build artifact was omitted.
- artifact filtering excluded the neutral package.
- the main PRI failed earlier generation.
Troubleshooting steps
- Verify that exactly one main-package PRI supplies identity, schema, and default resource maps.
- Collect input package roles and expected main package path.
- Correlate build manifest and generation logs 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 expected path.
- Collect schema presence.
- Collect artifact filter result.
Recovery and retry
Generate or include the authoritative main-package PRI before adding resource packages.
Related errors
ERROR_PRI_MERGE_RESOURCE_PACKAGE_REQUIRED means the main exists but no resource package is present; this code lacks the main package
Example
A localization pipeline collects only language packages. Adding the neutral main package gives merge the schema and identity it needs.
References
Looking for a different code? Search another status or error code.
