设置构建后事件命令?

编程入门 行业动态 更新时间:2024-10-26 14:34:01
本文介绍了设置构建后事件命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否可以在VS2013和多设备混合应用CTP3中设置后期制作?我希望能够将输出的APK复制到其他位置.

Is it possible to set a post-build in VS2013 and Multi-Device Hybrid Apps CTP3? I want to be able to copy the output APK to a different location.

推荐答案

您可以使用MSBuild Post构建事件将apk从bin \ Android \ Debug复制到您的自定义位置.您可以将PostBuildEvent添加到项目文件中以执行复制命令,也可以运行任务以将apk从一个位置复制到另一位置.

You can use MSBuild Post build event to copy the apk from bin\Android\Debug to your custom location. You can add PostBuildEvent to project file to execute the copy command or can run task to copy apk from one location to another.

<ItemDefinitionGroup> <PostBuildEvent> <Command>copy source_apk_location target_apk_location</Command> <Message>Making a copy of apk</Message> </PostBuildEvent> </ItemDefinitionGroup>

要编辑项目文件,请转到解决方案资源管理器,在项目节点contextmenu下单击Unload Project-> Edit * .jsproj,并在进行更改后重新加载项目.

To edit the project file go to solution explorer, under project node contextmenu click Unload Project --> Edit *.jsproj and after making the changes reload the project.

更多推荐

设置构建后事件命令?

本文发布于:2023-11-03 01:18:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1553893.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令   事件

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!