简体   繁体   中英

visual studio 2015 "Add service reference" missing

我需要导入一个WSDL ,但当我右键单击项目时,我在菜单上看不到“添加服务引用”。

To add a reference to a service in the current solution

In Solution Explorer, right-click the name of the project that you want to add the service to, and then click Add Service Reference.

The Add Service Reference dialog box appears.

Click Discover.

All WCF services in the current solution are added to the Service list.

In the Service list, expand the node for the service that you want to use and select a service contract.

In the Namespace box, enter the namespace that you want to use for the reference.

Click OK to add the reference to the project.

A service client (proxy) is generated, and metadata describing the service is added to the app.config file.

More information .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM