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
Next Post
Improving Method Signatures  10 Mar 2012
Prior Post
Caliburn.Micro and Ninject  31 Jan 2012
Related Posts
Using Constructors  27 Feb 2023
An Inconvenient API  18 Feb 2023
Method Archetypes  11 Sep 2022
A bash puzzle, solved  02 Jul 2022
A bash puzzle  25 Jun 2022
Improve your troubleshooting by aggregating errors  11 Jun 2022
Improve your troubleshooting by wrapping errors  28 May 2022
Keep your promises  14 May 2022
When are you done?  18 Apr 2022
Fixing GitHub Authentication  28 Nov 2021
Archives
February 2012
2012