[PR #12653] Fix activation context generation for conhost #29156

Open
opened 2026-01-31 09:33:10 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12653

State: closed
Merged: Yes


This regressed in 2b202ce6, which removed ACTCTX_FLAG_RESOURCE_NAME_VALID
during CreateActCtxW under the assumption that an executable only has
one manifest. conhost has two however and we need to pick the correct one.

On OpenConsole this causes the expected ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET.

Closes MSFT:38355907

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12653 **State:** closed **Merged:** Yes --- This regressed in 2b202ce6, which removed `ACTCTX_FLAG_RESOURCE_NAME_VALID` during `CreateActCtxW` under the assumption that an executable only has one manifest. conhost has two however and we need to pick the correct one. On OpenConsole this causes the expected `ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET`. Closes MSFT:38355907
claunia added the pull-request label 2026-01-31 09:33:10 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29156