对于C#项目文件多输出路径 [英] Multiple Output paths for a C# Project file

查看:616
本文介绍了对于C#项目文件多输出路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用多个输出路径。就像当我建立我的项目,该exe应该产生在两个不同的路径。如果是这样,我怎么能在项目属性 - 指定>构建 - >输出路径?我尝试使用,和;但无论这些工作。

Can I use multiple output paths. like when i build my project, the exe should generate in two different paths. If so, How can I specify in Project Properties-> Build -> output path? I tried using , and ; but neither of those work.

推荐答案

您有一个部分建设项目的性质事件。您可以使用后生成事件将输出复制到不同的位置。只需按下'编辑生成后和宏,让你甚至可以用快捷方式到你的输出目录。欲了解更多的信息在这里看看

You have a section build events in your project's properties. You can use post-build eventsto copy your output to different locations. Just press 'Edit Post-build' and 'Macros', so that you can even use shortcuts to your output directory. For more informations have a look here.

这篇关于对于C#项目文件多输出路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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