Where is svcutil.exe in windows 7?

For my WCF, I need to create a configuration file for my client application to indicate things like service binding, service address and contract.

+81
wcf
Feb 02 '11 at 15:34
source share
6 answers

Type Microsoft Visual Studio Command Prompt : where svcutil.exe . On my machine, it is located in: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\SvcUtil.exe

+122
Feb 02 '11 at 15:37
source share

If you are using vs 2010, you can get it in

C: \ Program Files (x86) \ Microsoft SDK \ Windows \ v7.0A \ Bin \ NETFX 4.0 Tools

+12
Sep 17 '12 at 6:27
source share

With the latest version of Windows (e.g. Windows 10, other servers), enter / search for "Developer Command Prompt." The appropriate command prompt for the version of Visual Studio appears.

eg. Developer Command Line for VS 2015

More details here https://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx

+7
Aug 30 '16 at 16:25
source share

Try creating a proxy class through SvcUtil.exe with the command

Syntax:

 svcutil.exe /language:<type> /out:<name>.cs /config:<name>.config http://<host address>:<port> 

Example:

 svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config http://localhost:8000/ServiceSamples/myService1 

To check if the service is available, try in your IE URL from the example without myService1 email

+4
Jan 08 '12 at 20:33
source share

To find any file location

  • In the Start window of the Search window
  • enter svcutil.exe
  • Wait until the results are complete.
  • Right-click on svcutil.exe and select "Open File Location"
  • Copy the path of Windows Explorer.
+3
Sep 24
source share

I do not think it is very important to find the location of Svcutil.exe. You can use the Visual Studio command line prompt to execute directly without its absolute path,

 Syntax: svcutil.exe /language:[vb|cs] /out:[YourClassName].[cs|vb] /config:[YourAppConfigFile.config] [YourServiceAddress] example: svcutil.exe /language:cs /out:MyClientClass.cs /config:app.config http://localhost:8370/MyService/ 
+3
Jun 11 '13 at 15:38
source share



All Articles