Https://msdn.microsoft.com/zh-cn/library/aa347733.aspx
Parameters:
/directory:<directory>
Directory to the Create files in. Default:the current directory.
Short form:/d abbreviation
How To:use Svcutil.exe to Download Metadata Documents
To download metadata using Svcutil.exe
-
locate the Svcutil.exe tool at the following location:
c:\program Files\Microsoft Sdks\windows\v1.0. \bin
At the command prompt, launch the tool using the following format.
Svcutil.exe/t:metadata <url>* | <epr>
You must specify the /t:metadata option to download metadata. Otherwise, client code and configuration are generated.
The <url> argument specifies the URL to a service endpoint this provides metadata or to a metadata document hosted O Nline. The <epr> argument specifies the path to an XML file, contains a ws-addressing endpointaddress for a Service endpoint that supports Ws-metadataexchange.
ServiceModel Metadata Utility Tool (Svcutil.exe)