[PR #3236] Introduce a Universal package for Windows Terminal #25287

Closed
opened 2026-01-31 09:08:31 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This PR creates a Universal entrypoint for the Windows Terminal solution in search of our goals to run everywhere, on all Windows platforms.

The Universal entrypoint is relatively straightforward and mostly just invokes the App without any of the other islands and win32 boilerplate required for the centennial route. The Universal project is also its own packaging project all in one and will emit a relevant APPX.

A few things were required to make this work correctly:

  • Vcxitems reuse of resources (and link instructions on all of them for proper pkg layout)
  • Move all Terminal project CRT usages to the app ones (and ensure forwarders are only Nugetted to the Centennial package to not pollute the Universal one)
  • Fix/delay dependencies in TerminalApp that are not available in the core platform (or don't have an appropriate existing platform forwarder... do a loader snaps check)
  • vcpkg needs updating for the Azure connection parser
  • font fallbacks because Consolas isn't necessarily there
  • fallbacks because there are environments without a window handle

Some of those happened in other small PRs in the past week or two. They were relevant to this.

Note, this isn't useful as such yet. You can run the Terminal in this context and even get some of the shells to work. But they don't do a whole lot yet. Scoping which shells appear in the profiles list and only offering those that contextually make sense is future work.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3236 **State:** closed **Merged:** Yes --- This PR creates a Universal entrypoint for the Windows Terminal solution in search of our goals to run everywhere, on all Windows platforms. The Universal entrypoint is relatively straightforward and mostly just invokes the App without any of the other islands and win32 boilerplate required for the centennial route. The Universal project is also its own packaging project all in one and will emit a relevant APPX. A few things were required to make this work correctly: - [x] Vcxitems reuse of resources (and link instructions on all of them for proper pkg layout) - [x] Move all Terminal project CRT usages to the app ones (and ensure forwarders are only Nugetted to the Centennial package to not pollute the Universal one) - [x] Fix/delay dependencies in `TerminalApp` that are not available in the core platform (or don't have an appropriate existing platform forwarder... do a loader snaps check) - [x] vcpkg needs updating for the Azure connection parser - [x] font fallbacks because Consolas isn't necessarily there - [x] fallbacks because there are environments without a window handle Some of those happened in other small PRs in the past week or two. They were relevant to this. Note, this isn't *useful* as such yet. You can run the Terminal in this context and even get some of the shells to work. But they don't do a whole lot yet. Scoping which shells appear in the profiles list and only offering those that contextually make sense is future work.
claunia added the pull-request label 2026-01-31 09:08:31 +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#25287