MSBuild目标是否创建.appx包? [英] MSBuild target to create the .appx package?

查看:84
本文介绍了MSBuild目标是否创建.appx包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有使用MSBuild创建Windows 8软件包(.appx)的示例?  用于创建包的目标是什么?

Does anyone have an example of using MSBuild to create the Windows 8 package (.appx)?  What target is used to create the package?

我有一个具有多个配置的解决方案,目前我必须在每个配置之间手动切换并手动创建包。  如果我可以使用MSBuild和PowerShell自动执行此功能,那就太棒了。

I have a solution with multiple configurations and currently I have to manually switch between each and manually create the packages.  It would be great if I could use MSBuild and PowerShell to automate this.

我不确定是否应将此帖子发布到MSBuild论坛(http://social.msdn.microsoft.com/Forums/en-US/msbuild/threads ) - 但我想在这里发帖更有意义。

I wasn't sure if I should post this to the MSBuild forum (http://social.msdn.microsoft.com/Forums/en-US/msbuild/threads) - but I thought posting it here made more sense.

推荐答案

如果您正在使用msbuild命令行,只是调用项目的构建,默认情况下也会构建一个应用程序包。如果您正在使用VS IDE,则可以在Create App Package向导中选择要构建的多个软件包,构建过程将
自动循环遍历所有配置并为每个配置构建应用程序包。

If you're using msbuild on the command line, just invoking a build on the project will also build an app package by default. If you're using the VS IDE, you can select multiple packages to be built in the Create App Package wizard and the build process will automatically loop through all the configurations and build an app package for each.


这篇关于MSBuild目标是否创建.appx包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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