When WcfTestClient.exe is copied to another machine by itself, runtime errors prevent you from connecting to a WCF service, for example:
System.IO.FileNotFoundException: Could not load file or Assembly 'Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
How can this tool be used without installing Visual Studio?
Best Answer
To run
WCFTestClient.exe
as a standalone appplication (without install a full version of Visual Studio 2010):dest.
machine and copywcftestclient.exe
there (only that file).Copy Microsoft.VisualStudio.VirtualTreeGrid.dll (version 10) from file below to same directory of
wcftestclient.exe
in thedest.
machine.You would create in your destination machine the following two registry keys:
Step note: You could export them from your development machine (maybe you could find another version, but please try with v7.0A first).
Then you will need copy from:
to your destination machine (same directory as
wcftestclient.exe
)Step note: Is important this version of
svcutil.exe
Run
wcftestclient.exe
Final notes: You will need only two
.exe
files and one.dll
(wcftestclient.exe, svcutil.exe and Microsoft.VisualStudio.VirtualTreeGrid.dll
) to run the application.More information