Turn off the WCF service host in Visual studio [duplicate]
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?
Just unchek checkbox "Start WCF Service Host when debugging another project in the same solution"
in WCF options in project settings
Follow these steps to disable the Test WCF Client:
- Edit the .csproj file, and find the
ProjectTypeGuids
element. - Remove
{3D9AD99F-2412-4246-B90B-4EAA41C64699};
- Save the .csproj file and reload the project in Visual Studio.
精彩评论