Skip to content

How can I build and package a packaged single-project MSIX app in command line? #1835

Answered by andrewleader
HEIGE-PCloud asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @HEIGE-PCloud, thanks for asking this question! This is something we need to get added to our docs (another customer asked this last week). In the meantime, I'll provide the answer here 😊

The key missing build command option is /p:GenerateAppxPackageOnBuild=true... that'll cause the MSIX package to be generated!

Here's an example of a GitHub action building a WinUI 3 single project app: https://github.com/andrewleader/WindowsAppSDKGallery/blob/main/.github/workflows/dotnet-desktop.yml#L102

Also, one other thing to note...

  • Single-project MSIX currently doesn't support producing MSIX Bundles, it only produces a single MSIX. You can bundle them into a MSIX bundle using this GitHub action:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrewleader
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