您的位置:首页 > 其它

ServiceModel Metadata Utility Tool (Svcutil.exe)

2015-07-16 09:31 531 查看
https://msdn.microsoft.com/zh-cn/library/aa347733.aspx

参数:

/directory:<directory>

Directory to create files in. Default: The current directory.

Short form: /d 缩写

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 that provides metadata or to a metadata document hosted online. The <epr> argument specifies the path to an XML file that contains a WS-Addressing EndpointAddress for a service endpoint that supports WS-MetadataExchange.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: