Thursday, 31 January 2013

Where is svcutil.exe in Windows 7

 
For my WCF Client Application, I need to generate the class file and Configuration file.

So where we need to find this svcutil.exe.

The Location of svcutil.exe is

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin

 
 
 


We need to execute the command   by using the Visual Studio command prompt

Click Start -> Programs -> Microsoft Visual studio 2008 -> Visual Studio Tools -> Visual Studio 2008 Command Prompt





 


 
 
 
 
 
 
 
 
 
 
 
Then you can use  the Following Command

To generate the proxy class with svcutil.exe command
Synatax:
svcutil.exe /language:<type> /out:<name>.cs /config:<name>.config http://<host address>:<port>
 
Example:
SvcUtil.exe /language:vb /out:WCFServiceClientRef.vb /config:app.config http://localhost/SampleServices/FlexService.svc
 
 
 
 
 
 

 

No comments:

Post a Comment