Stop Visual Studio 2008 from Running Built-In WCF Service Host
I was working on a project recently where I had a solution with a project that self-hosted a WCF service and another project containing the service itself.
When running the solution with self-hosted project as the startup Visual Studio would also run the built-in WCF service host resulting in a clash for URLs/ports.
The solution is in the WCF Options tab in the service’s project properties. If you clear the Start WCF Service Host When Debugging Another Project In The Same Solution checkbox Visual Studio won’t run the built-in WCF service host unless the service project is the start-up project.
