使用msbuild从命令行创建应用程序包 [英] Creating app package from command line using msbuild

查看:156
本文介绍了使用msbuild从命令行创建应用程序包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用向导从Visual Studio 2013创建应用程序包.

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

结果文件为 MyProject_Win8_1.1.1.3_x86_x64_arm_bundle.appxupload ,很好!

我可以使用以下命令为任何平台构建 .appxupload 文件.

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"

导致生成 MyProject_Win8_1.1.1.3_ARM.appxupload

如何告诉 msbuild 构建我需要的所有3个平台并生成一个 .appxupload 文件,其中将包含所有文件?

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

推荐答案

尝试以下命令行:

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

这篇关于使用msbuild从命令行创建应用程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆