deko
deko

Reputation: 2636

Creating app package from command line using msbuild

I can create App Packages from Visual Studio 2013 using the wizard.

enter image description here

The result file is MyProject_Win8_1.1.1.3_x86_x64_arm_bundle.appxupload, which is fine!

I can use the following command to build an .appxupload file for any platform.

msbuild mysolution.sln /property:Configuration="Release" /t:"myproject_Win8" /p:Platform="ARM" /m:4 /t:"Publish"

which leads to generation of MyProject_Win8_1.1.1.3_ARM.appxupload

How can I tell msbuild to build all 3 platforms I need and generate one .appxupload file, which will contain them all?

Upvotes: 6

Views: 6310

Answers (1)

ndelabarre
ndelabarre

Reputation: 269

Try this command line :

MSBuild mysolution.sln  /p:Configuration=Release;AppxBundle=Always;AppxBundlePlatforms="x86|x64|ARM"

Upvotes: 7

Related Questions