Skip to content

What is the equivalent CLI command for Visual Studio's "Publish > Create App Packages..." right-click action? #14254

Answered by jonthysell
shirakaba asked this question in Q&A
Discussion options

You must be logged in to vote

When the run-windows command builds, it builds the whole solution, and (as is default) your UWP app project has its own "built-in" appx package, so of course that "built-in" appx package gets built. If you've added other projects (like the WAP project) then I believe those will get built as well (if not see below).

However, when run-windows tries to deploy (install the appx package to your machine), there's some logic to determine if we use VS to deploy or do it manually ourselves. And we only install one thing, so it's possible that we may install the "built-in" appx package for your UWP app and not the WAP project you want. (This logic may be different from debug vs release, by design).

I…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by chrisglein
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