Skip to content

[WinAppSDK CMake Support]: Implicitly choose deployment mode based on WindowsAppSDKSelfContained#6490

Merged
ssparach merged 4 commits into
mainfrom
user/ssparach/CMakeModifications
Jun 8, 2026
Merged

[WinAppSDK CMake Support]: Implicitly choose deployment mode based on WindowsAppSDKSelfContained#6490
ssparach merged 4 commits into
mainfrom
user/ssparach/CMakeModifications

Conversation

@ssparach

Copy link
Copy Markdown
Contributor

This PR contains changes to the embedded CMake to abide by the refinements introduced where a consuming application no longer needs to link against _Framework or _SelfContained targets accordingly and instead needs to set a property i.e. WindowsAppSDKSelfCOntianed (similar to MSBuild).
The embedded config will then be responsible to call the helper that will resolve to the right target for the consumer. This PR also contains changes to the appxmanifest generation flow.

To examine the consumption model, please see samples inside draft PR: microsoft/WindowsAppSDK-Samples#636 . Note, these samples will only be merged to the public sample repository once users have access to these changes i.e. the changes have been shipped.

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@ssparach ssparach marked this pull request as ready for review June 5, 2026 20:01
@ssparach

ssparach commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@ssparach ssparach merged commit f9f3c39 into main Jun 8, 2026
50 checks passed
@ssparach ssparach deleted the user/ssparach/CMakeModifications branch June 8, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants