[英]Can I create one project with Application(GUI) and Windows Service and have one setup which installs both?
I am creating one service which will connect to DB and get some info process it and produce a simple csv file. 我正在创建一个服务,该服务将连接到DB并获取一些信息处理它并生成一个简单的csv文件。 On the other hand I am also creating an App to insert the data in the DB which eventually service will be using.
另一方面,我也正在创建一个应用程序,以将数据插入最终将要使用的数据库中。 Do I need to create two separate projects and two separate setup files, or can I have both service and app in one project and just one setup file which will install both?
我需要创建两个单独的项目和两个单独的安装文件,还是可以在一个项目中同时包含服务和应用程序,而只有一个安装文件可以同时安装这两个文件?
I would suggest at least four projects in total: 我总共建议至少四个项目:
You may find that two separate installers would be more appropriate but it would be possible to use one for both. 您可能会发现两个单独的安装程序会更合适,但可以同时使用两个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.