如何让一个项目的exe出现在另一个项目的Tools目录中? [英] How to I get the exe from one project to appear in the Tools dir of another project?

查看:100
本文介绍了如何让一个项目的exe出现在另一个项目的Tools目录中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我是一名经验丰富的开发人员,我之前没有遇到任何要求,所以如果这是一个愚蠢的问题,请原谅我。 />


我有两个项目的解决方案:

Utility.exe - 命令行实用程序

Main.exe - Winforms应用程序。这个项目有一个工具子文件夹。



当我编译解决方案时,我只是希望utility.exe出现在main.exe的Tools子文件夹中(和每次重建解决方案时,都要在Tools子文件夹中刷新最新的utility.exe。



我正在寻找最简单,最直接的方法处理这个。

我不想手动创建任何脚本或类似的东西。如果VS有本机功能来处理这样的事情,我更喜欢这样做。



提前谢谢。



Steve

Hello,

I'm a Seasoned developer with a requirement I haven't faced before, so please forgive me if this is a stupid question.

I have a solution with two projects:
Utility.exe - commandline utility
Main.exe - Winforms application. This project has a "Tools" subfolder.

When I compile the solution, I simply want the utility.exe to appear in the Tools subfolder of main.exe (and for the latest utility.exe to be refreshed in the Tools subfolder each time I rebuild the solution).

I'm looking for the simplest, most straight-forward way of handling this.
I prefer not to have to manually create any scripts or anything like that. If VS has native functionality to handle something like this I prefer to do it that way.

Thanks in advance.

Steve

推荐答案

这篇关于如何让一个项目的exe出现在另一个项目的Tools目录中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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