Turn off the WCF service host in Visual studio [duplicate]

戏子无情 提交于 2019-12-21 07:02:50

问题


Possible Duplicate:
How to Prevent Visual Studio launch WcfSvcHost.exe in Debuggin?

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?


回答1:


Follow these steps to disable the Test WCF Client:

  1. Edit the .csproj file, and find the ProjectTypeGuids element.
  2. Remove {3D9AD99F-2412-4246-B90B-4EAA41C64699};
  3. Save the .csproj file and reload the project in Visual Studio.



回答2:


Just unchek checkbox "Start WCF Service Host when debugging another project in the same solution" in WCF options in project settings



来源:https://stackoverflow.com/questions/5366229/turn-off-the-wcf-service-host-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!