[PR #3565] Make ConPTY build as both LIB and DLL. #25425

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Make ConPTY build as both LIB and DLL. Update TerminalConnection reference to LIB version (because Terminal builds both UWP and Centennial, requiring different CRTs each). DLL is now available (and against desktop CRT) to be PInvokable from C# for WPF terminal. Note, DLL MUST BUILD PRECOMP to get the magic pragma linking information to the Desktop CRT.

PR Checklist

Validation Steps Performed

  • built it, built the terminal, tried to run it, worked.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/3565 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Make ConPTY build as both LIB and DLL. Update TerminalConnection reference to LIB version (because Terminal builds both UWP and Centennial, requiring different CRTs each). DLL is now available (and against desktop CRT) to be PInvokable from C# for WPF terminal. Note, DLL MUST BUILD PRECOMP to get the magic pragma linking information to the Desktop CRT. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #3563 * [x] I work here. * [x] Tests still pass, none added. * [x] No doc. * [x] I'm a core contributor. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed - built it, built the terminal, tried to run it, worked.
claunia added the pull-request label 2026-01-31 09:09:25 +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#25425