使用 msbuild 从命令行创建应用程序包 [英] Creating app package from command line using msbuild
本文介绍了使用 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屋!
查看全文