在Visual Studio中关闭WCF服务主机 [英] Turn off the WCF service host in Visual studio
本文介绍了在Visual Studio中关闭WCF服务主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我调试带有WCF服务库的解决方案时,VS 2008默认情况下会启动WCF服务主机.有没有办法关闭此功能,以便我可以使用自己的托管Windows服务主机?
When I debug a solution with a WCF service library, VS 2008 starts the WCF Service host by default. Is there a way to turn this off so that I can use my own managed Windows service host?
推荐答案
请按照以下步骤禁用测试WCF客户端:
Follow these steps to disable the Test WCF Client:
- 编辑.csproj文件,并找到
ProjectTypeGuids
元素. - 删除
{3D9AD99F-2412-4246-B90B-4EAA41C64699};
- 保存.csproj文件,然后在Visual Studio中重新加载项目.
这篇关于在Visual Studio中关闭WCF服务主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文