Controlling Auto-launching of WCF Service Host

You can control the auto-launching capability of Windows Communication Foundation (WCF) Service Host (WcfSvcHost.exe) for a WCF Service Library project, when you debug another project in the same Visual Studio solution containing multiple projects.

To do so, right-click the WCF Service Project in Solution Explorer, choose Properties, and click WCF Options tab. The Start WCF Service Host when debugging another project in the same solution check box is enabled by default. You can clear the box so that WCF Service Host for this specific project is not launched when another project is debugged in the same solution.

This behavior does not affect the F5 debugging, or Add Service Reference functionalities for this project.

This option is available to the following projects:

  • WCF Service Library Project.

  • Sequential Workflow Service Library Project.

  • State Machine Workflow Service Library Project.

  • Syndication Service Library Project.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft