gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 01:24:46 25 4
gpt4 key购买 nike

我可以使用向导从 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com