如何设置具有多个项目的Windows应用程序 [英] How to setup a Windows application with more than one projects

查看:93
本文介绍了如何设置具有多个项目的Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想为我的Windows应用程序创建一个安装文件,在我的应用程序中有3个项目



1)一个名为CCMA的Windows应用程序

2)两个名为CCMALib的类库和coreAudio

3)一个叫做语音服务的Windows服务。



我的启动项目是CCMA。如何将这4个项目集成到一个安装程序文件中。



感谢您的时间。

解决方案

在Visual Studio中打开CCMA项目/解决方案。



上下文 - 单击解决方案资源管理器的根节点,选择添加,然后选择新建项目,并添加项目和服务。 />


上下文 - 单击解决方案资源管理器的根节点(或Alt-Enter),选择属性,然后选择公共属性和配置属性,以设置是否解决方案是'单个启动项目,或多个启动项目,以及其他解决方案设置。



上下文 - 在解决方案资源管理器中单击您添加的项目和服务,并选择属性以设置特定于您添加的项目或服务的其他设置。



我从未编写过服务,和/或向.NET添加了服务VS解决方案,因此我可能会遗漏一些特定于使用服务的重要信息。



编译解决方案,并以通常的方式部署。

1。尝试使用SetUp和Deployment WIzard创建安装程序。

2.它将询问您任何依赖库,包括您在这里的所有库。



http:// www.c-sharpcorner.com/UploadFile/1492b1/creating-an-msi-package-for-C-Sharp-windows-application-using-av/ [ ^ ]

Hi,

I want to create a setup file for my windows application , In my application there are 3 projects

1) one windows application called CCMA
2) Two class library called CCMALib and coreAudio
3) One windows service called Voice Service.

My startup project is CCMA. How can i integrate this 4 projects in to one installer file.

Thanks for your time .

解决方案

Open your CCMA Project/Solution in Visual Studio.

Context-Click on the Root-Node of the Solution Explorer, select 'Add, then select 'New Project, and add your Projects, and your Service.

Context-Click the Root-Node of the Solution Explorer (or Alt-Enter), select 'Properties then select 'Common Properties, and 'Configuration Properties, to set whether your Solution is a 'Single startup project, or Multiple startup projects, and other Solution settings.

Context-Click on your added Projects, and Service, in the Solution Explorer, and select 'Properties to set other settings specific to your added Projects, or Service.

I have never written a Service, and/or added a Service to a .NET VS Solution, so there may be some significant information I have left out specific to using a Service.

Compile the Solution, and deploy in the usual way.


1. Try using SetUp and Deployment WIzard to Create Setup.
2. It Will Ask you for any Dependency Libraries , Include all your Libraries here.

http://www.c-sharpcorner.com/UploadFile/1492b1/creating-an-msi-package-for-C-Sharp-windows-application-using-a-v/[^]


这篇关于如何设置具有多个项目的Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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