WCF : How to disable WCF Test Client
Open your project properties, go to the Debug tab, under start options you will see something like /client:"WcfTestClient.exe"
delete that line.
For a WCF Service Application and WCF Workflow Service Application you need to modify the .csproj.user file. A full write up can be found here.
The key part is
<WebProjectProperties>
<EnableWcfTestClientForSVC>False</EnableWcfTestClientForSVC>
</WebProjectProperties>
Right Click WCF Project -> Select Properties -> Debug
In Debug, you can see the Command Line arguments specified as /client:"WcfTestClient.exe"
Removing this won't fire up the test client when you run the service.
Regards,
Venkatarajan Arthanari
I have been down this road MANY times over the years at different companies.... I forget and I found this page and while it is good advise for some, not helpful for me.
What DID fix this for a WCF application for me is this:
Note: Visual Studio 2013 FYI
1. Right click on the your WCF project and click Properties
2. Click on left "Web" link/tab --> Notice the Start Action Section
3. Check Radio Button "Specific page"
4. Enter your .svc example Service1.svc
5. Set project as startup and either hit F5 or right click and debug
6. Now the WCF Test Client launches (for me at least)
Hope this helps someone else.