If you’re writing a self-hosted WCF service (one that’s hosted by your own application, not by IIS) and Visual Studio’s WCF Service Host keeps popping up whenever you want to debug your application, here’s how to turn it off.

Go to the project properties page for your services project, select the WCF Options page and turn off Start WCF Service Host when debugging another project in the same solution..

Interestingly, when I googled this problem, I found a lot of people suggesting nasty GUID hacks for your csproj file and a bunch more saying there was no way to turn it off.

Blogged in the hope that good information will start to displace the bad.

Comments

blog comments powered by Disqus