Skip to content

Unable to create AppxPackage with all the required dependencies #2317

Answered by Scottj1s
harvinders asked this question in Q&A
Discussion options

You must be logged in to vote

@harvinders Through v1.0.1, internal Windows App SDK binaries require the CRT to be deployed (either via VCLibs.Desktop framework package for packaged apps, or VCRedist*.exe for unpackaged apps). A C# single-project app like yours can turn that behavior on by adding this property to the csproj:
<WinUISDKReferences>true</WinUISDKReferences>
With v1.0.2, Windows App SDK binaries will no longer dynamically link to CRT libraries, so this won't be a problem and you can remove the property at that point.

See also #2117

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@harvinders
Comment options

Answer selected by harvinders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants