如何在部署/发布模式下将外部启动程序(exe)添加到项目中 [英] how to add external start program(exe) to a project in deployement/release mode

查看:196
本文介绍了如何在部署/发布模式下将外部启动程序(exe)添加到项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在VS 2005 C#2.0中有一个应用程序.在主项目属性下的debug选项:-
启动操作-启动外部程序(路径例如C:\\ program Files \ FingoX \ fingo.exe)
当我们通过Visual Studio运行应用程序并成功运行时,该外部程序将首先执行.该程序实际上调用了我们的应用程序.

当我在发布模式下运行此应用程序时,它会通过消息:-
缺少调试目标.请构建项目并重试

我想知道如何在发布应用程序时将外部程序添加到我们的应用程序中.



I have an application in VS 2005 C#2.0. In the main project properties under debug option:-
Start Action- Start External Program (Path e.g. C:\\program Files\FingoX\fingo.exe)
This external program is executed 1st when we run the application through Visual studio and run successfully. This program actually called our application.

when I run this application in release mode then it through message:-
The Debug target is missing. Please build the project and retry

I want to know how to add the external program to our application while releasing the application.

推荐答案

发布给客户:
添加一个安装项目,将exe作为文件添加到项目输出中.只需在程序"菜单中为exe添加快捷方式,就可以了.

在发布配置中运行:
在VS中测试应用程序时,按开始调试",则必须记住设置发布"配置以也启动外部程序.
Release to customer:
Add a setup project, add the exe as a file besides your project output. Only add a shortcut to the exe in the Programs menu, and there you go.

Run in release-configuration:
When testing your application in VS, and you press "Start Debugging", you must remember to set your "Release"-configuration to start external program as well.


这篇关于如何在部署/发布模式下将外部启动程序(exe)添加到项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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