visual-studio - 使用 msbuild 从命令行创建应用程序包

标签 visual-studio visual-studio-2013 msbuild uwp

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

enter image description here

结果文件是MyProject_Win8_1.1.1.3_x86_x64_arm_bundle.appxupload,没问题!

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

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 文件?

最佳答案

尝试这个命令行:

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

关于visual-studio - 使用 msbuild 从命令行创建应用程序包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34356517/

相关文章:

c - 从cygwin移动到VisualStudio2013,报错LNK2019,snprintf(),c

tfs - 从 TFS 获取最新信息时的时间戳,这很重要吗?

asp.net - Visual Studio 构建错误 "Illegal characters in path"

.net - Visual Studio 的 StyleCop 的替代品?

visual-studio - 找不到 TypeScript 编译器

c# - 如何将 MonoGame 安装到 Visual Studio 2013 中?

visual-studio - 通过 visual studio 2017 中的 postbuild 事件构建 .net 核心项目

c# - 调试IDE弹出错误 "Object Reference not set to instance of object"后

.net - NuGet 更新和条件引用

asp.net - web.config 在部署时转换而不是构建