Guillermo G. Blog

Software Architect
ASP.NET MCP
"The best way to predict the future is to invent it"

Info: Running WcfTestClient Tool in a PC without VS.Net 2008

WcfTestClient

Microsoft Visual Studio .Net 2008 comes with a tool to test our WCF services called WcfTestClient, you can run it from "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\WcfTestClient.exe". But what happens if you need to run this tool to test a WCF Service in a PC that don't have Microsoft Visual Studio .Net 2008 installed?

Well, you simply need to copy the listed files from the next path "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\":

  • SvcUtil.exe
  • SvcUtil.exe.config
  • WcfSvcHost.chm*
  • WcfSvcHost.exe
  • WcfSvcHost.exe.config
  • WcfTestClient.chm*
  • WcfTestClient.exe
  • WcfTestClient.exe.config

*Files marked with an asterisk are optional.

But if you run the app shows you the next error:

Assembly Microsoft.VisualStudio.VirtualTreeGrid, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f7f11d50a3a was not found. Reinstall the assembly or Visual Studio. The application cannot continue and will exit.

And now you need to add to the previous files the next file that resides in the GAC:

  • Microsoft.VisualStudio.VirtualTreeGrid.dll

Maybe you're thinking right now ... hmm? How I can get a file from the GAC? ... It's easy!

Press the Windows Key + R, and then the Run Window appears, just copy the next path:

%windir%\assembly\GAC_MSIL\Microsoft.VisualStudio.VirtualTreeGrid\

... and you will find a folder with the VirtualTreeGrid assembly inside. Copy this file to the same folder where the other files resides and you are ready to use WcfTestClient from a PC that don't have Microsoft Visual Studio 2008 Installed.

UPDATED April 27, 2009:
You can download all the files here.

Enyoy It!

Comments

Elvin said:

All right! Exactly what I was looking for. Thanks a million.

# March 6, 2009 5:11 AM

claraoscura said:

Very useful! Thanks :)

# March 12, 2009 10:33 AM

Diego said:

Excelente muy util y facil de implementar, ese muchacho creo que es el mas duro de Colombia.

# March 26, 2009 6:16 PM

Erik said:

A better WCF testing tool is WCFStorm ( http://www.wcfstorm.com ).  It's a stand-alone app that requires only the .NET framework to run.  The tool combines the features of WcfTestClient and WCF load test tools.

# April 25, 2009 12:56 AM

Prarthana said:

Thanks for the useful information. :)

I was hoping to find this somewhere on MSDN..!

# July 24, 2009 4:06 PM

Slyvana said:

thanks that's what i need for my project.. appreciate the efforts

# October 15, 2009 3:33 AM

Dan said:

Thanks man, I had it all up to the missing GAC file.  This saved me some time.

# November 6, 2009 7:10 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)