I can create App Packages from Visual Studio 2013 using the wizard.
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?
Use MSBuild at a command prompt To run MSBuild at a command prompt, pass a project file to MSBuild.exe, together with the appropriate command-line options. Command-line options let you set properties, execute specific targets, and set other options that control the build process.
Builds the targets in the project file that you specify. If you don't specify a project file, MSBuild searches the current working directory for a file name extension that ends in proj and uses that file. You can also specify a Visual Studio solution file for this argument.
Click on System and Security and then on System. In the left pane, click on Advanced system settings. At the very bottom of the pop up, click on Environment Variables. Edit the Path variable and append the folder's path that contains the MSBuild.exe to it (e.g., ;C:\Windows\Microsoft.NET\Framework64\v4.
Try this command line :
MSBuild mysolution.sln /p:Configuration=Release;AppxBundle=Always;AppxBundlePlatforms="x86|x64|ARM"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With