这个问题在这里已经有了答案:
9年前关闭。
Possible Duplicate:
How to Prevent Visual Studio launch WcfSvcHost.exe in Debuggin?
当我使用 WCF 服务库调试解决方案时,VS 2008 默认启动 WCF 服务主机。有没有办法关闭它以便我可以使用我自己的托管 Windows 服务主机?
最佳答案
只需取消选中复选框 "Start WCF Service Host when debugging another project in the same solution"
在项目设置中的 WCF 选项中
关于.net - 在 Visual Studio 中关闭 WCF 服务主机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5366229/