I have a WCF project and when I run it sometimes it lunch the WCF Test and sometimes it does not.
How can I set the WCF Test Client to always be displayed ?
It's worth noticing the comment, generated by the project template at one's svc.cs-file:
// NOTE: In order to launch WCF Test Client for testing this service, please select SampleService.svc or SampleService.svc.cs at the Solution Explorer and start debugging.
public class SampleService : ISampleService
{
...
One can also use that hint, to make WCF Test Client start each and every time (regardless of the currently focused file) by specifiying the the svc-file as start action.
Go to your "project properties", "Web", and set "Specific Page" to your svc-file.
The link in MLF's answer does contain good information, and is definitely worth a read. However, it took me a while to find the specific answer I was looking for, which is about halfway down the page:
If you set the focus on the .svc or .xamlx file in Solution Explorer, WCF Test Client will start when pressing F5.
This still holds true in Visual Studio 2015.
Have look at this article from the WCF Tools Team Blog
Tips for Launching WCF Test Client