Kirk Evans Blog

.NET From a Markup Perspective

Disable WCF Service Host

While debugging a WCF project tonight, I was getting frustrated by a 5 second pause every time I started the app and a warning that my service contains no endpoints.  A couple quick searches kept mentioning a WCF Options tab in the project properties, but that tab doesn’t exist that I’ve been able to find. 

Took some more searching, but I finally found the answer.

The fix is quite quick: just open the .csproj file for your WCF Service Library project in notepad and remove the following string.


That will disable the WCF Service Host for your WCF Service Library project.