构建包含一个Windows服务和Windows窗体项目的解决方案 [英] Building a solution which contains a windows service and a windows forms project

查看:612
本文介绍了构建包含一个Windows服务和Windows窗体项目的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有其中包含一个Windows服务和Windows窗体项目的解决方案。是否有可能来构建解决方案,并有从两个项目的输出一个文件夹中?在输出中的文件夹应该包含Windows服务的exe,也是形成双赢的EXE文件。

I have a solution which contains a windows service and a windows forms project. Is it possible to build the solution and have the output from both project in one folder ? The ouput folder should contain the windows service exe and also the win forms exe files.

推荐答案

使用复制在两个项目中建立的事件。

Use copy in both projects build events.

筛选

copy /Y $(ProjectDir)$(OutDir)output_file_you_want_to_copy C:\some_dest_dir

这篇关于构建包含一个Windows服务和Windows窗体项目的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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