包括分离的exe应用程序到VS控制台项目 [英] include separated exe application into VS Console project

查看:168
本文介绍了包括分离的exe应用程序到VS控制台项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS 2008上创建了控制台应用程序,控制台应用程序使用另一个exe文件(使用命令行)。我想把这个exe文件添加到我的控制台应用程序。现在我有一个问题,如果我建立项目我需要手动复制exe文件到建立文件夹。

I have created console application on VS 2008, the console app use another exe file(using command line). I would like to add that exe file to my console application. Now I have one problem, if I build project I need to copy exe file manually to build folder.

注意,
Tomas

Regards, Tomas

推荐答案

将.exe添加到您的解决方案。

然后在解决方案资源管理器:richt clik上的exe文件, >
在属性中:

复制到输出文件夹:如果较新则复制

Add the .exe to your solution.
Then in the solution explorer : richt clik on the exe file and choose properties
In the properties:
Copy to output folder : Copy if newer

这篇关于包括分离的exe应用程序到VS控制台项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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