How to make Installer using WCF

后端 未结 1 485
臣服心动
臣服心动 2021-01-28 06:36

I have one console application.The application calls WCF on server. The application runs perfectly in Visual Studio 2008.

error:

相关标签:
1条回答
  • 2021-01-28 06:57

    Actually you cannot directly create an installer project by adding primary output from a WCF service. You should host the WCF service inside a windows service and add the primary output of the windows service to the installer project.

    1. create a WCF.

    2. create a windows service and host the WCF inside it (call the WCF from windows service).

    3. Create a setup project (installer project).

    4. Add the primary output of the windows service to the installer project.

    see this link to see the hosting details...

    http://msdn.microsoft.com/en-us/library/ms733069.aspx

    See this blog. It will help you with the implementation of windows service...

    http://joefreeman.co.uk/blog/2010/03/creating-a-setup-project-for-a-windows-wcf-service-with-visual-studio/

    0 讨论(0)
提交回复
热议问题