189

The MSDN docs state that I can find the WCF Test Client in:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\

but it seems like a lot of stuff is missing from there, including WcfTestClient.exe.

What do I need to install?

BartoszKP
  • 34,786
  • 15
  • 102
  • 130
eran otzap
  • 12,293
  • 20
  • 84
  • 139

11 Answers11

207

C:\Program Files (x86)\Microsoft Visual Studio (Your Version Here)\Common7\IDE

  • 30
    Should it be of any help to future readers, after installing VS2012 on an x64 machine this program was located here: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WcfTestClient.exe – JohnLBevan Nov 04 '12 at 23:38
  • 4
    for x64 systems it's under the (x86) path, for non 64-bit it's under program files – PositiveGuy Oct 21 '13 at 21:23
  • 5
    Please check Gaspa79's answer (https://stackoverflow.com/a/37530146/352640) for the most recent versions of Visual Studio. – Jan_V Nov 13 '17 at 10:10
  • 3
    Please note that, as of VS 2017, this answer is not valid anymore. See below the answer by Gaspa79 for the right path (tl;dr: access the folder called simply "Microsoft Visual Studio" WITHOUT the version number, in ProgFiles, and open the same subfolder) – Alberto Chiesa Aug 16 '18 at 13:35
131

VS 2022 Professional:

C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\WcfTestClient.exe

VS 2022 Community:

C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\WcfTestClient.exe

VS 2022 Enterprise:

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\WcfTestClient.exe

VS 2019 Professional:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\WcfTestClient.exe

VS 2019 Community:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\WcfTestClient.exe

VS 2019 Enterprise:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\WcfTestClient.exe

VS 2017 Community:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\WcfTestClient.exe

VS 2017 Professional:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\WcfTestClient.exe

VS 2017 Enterprise:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\WcfTestClient.exe

VS 2015:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\WcfTestClient.exe

VS 2013:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\WcfTestClient.exe

VS 2012:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WcfTestClient.exe
Mafu Josh
  • 2,523
  • 1
  • 23
  • 25
Gaspa79
  • 5,488
  • 4
  • 40
  • 63
81

The prerequisite to have WcfTestClient is to have Windows Communication Foundation component installed. If WcfTestClient is missing, install it by modifying Visual Studio:

Control Panel > Apps & Features > Visual Studio (your version)

In Visual Studio Installer, click on Modify, choose Individual components tab and then select (see below screenshot):

☑ Windows Communication Foundation

Click on Modify and voilà, application will be on your disk.

Visual Studio Installer

If you want to use WcfTestClient with no Visual Studio, see answer(s) on: How can the Wcf Test Client be used without Visual Studio?

Dariusz Woźniak
  • 9,640
  • 6
  • 60
  • 73
40

In addition, one can add this to the Visual Studio Tools menu.

Tools => External Tools.

And then in the Command box enter the path for WcfTestClient.exe.

In my case

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\WcfTestClient.exe

enter image description here

Jehonathan Thomas
  • 2,110
  • 1
  • 28
  • 34
39

FYI - I could not find WcfTestClient.exe under any of the listed file paths. It turns out it needed to be installed by Visual Studio Installer. When you launch the installer and modify your version of VS, make sure Windows Communication Foundation is checked under Optional. It may seem obvious, but it wasn't to me and therefore might not be obvious to everyone else.

kroe761
  • 3,296
  • 9
  • 52
  • 81
24

You won't find the component if it hasn't been installed.

In Visual Studio 2019 go to:

Tools > Get Tools and Features > Select the Individual Components tab > Type wcf in the search box and install it.

This installs the component, and you should be able to load it from the command prompt or other methods suggested in the answer.

GJBisschop
  • 315
  • 1
  • 3
  • 12
user1131926
  • 1,311
  • 2
  • 18
  • 32
10

If you use "Developer Command Prompt" you can just type WcfTestClient to start it or type where wcftestclient to find the location.

Roel
  • 3,089
  • 2
  • 30
  • 34
  • 1
    This answer is much more useful to new people and provides much more instructional information than just giving the typical location. It also accounts for cases where users don't have their Program Files* folders on the %SYSTEMDRIVE% (which is entirely possible) – Alex Marshall Aug 14 '16 at 20:11
  • 1
    Thanks. The where command told me instantly that it was at C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE – Timothy Klenke May 10 '17 at 22:12
6

For Visual studio 2013, Windows 8...

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\WcfTestClient.exe

JGilmartin
  • 8,683
  • 14
  • 66
  • 85
4

New Direction on VS 2017 (x64 systems)

"C:\Program Files (x86)\Microsoft Visual Studio\2017\*your lic type*\Common7\IDE\WcfTestClient.exe"
2

Mine was here: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE"

0

For 64 bit OS, its here (If .Net 4.5) : C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

AskMe
  • 2,495
  • 8
  • 49
  • 102