Kirk Evans Blog

.NET From a Markup Perspective

Disable WCF Service Host

Disable WCF Service Host

  • Comments 1

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.

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post
Translate This Page