Microsoft Visual Studio Enterprise 2019 升级到版本 16.11.9,在解决方案资源管理器中,右键单击要添加服务的项目的名称,列表中没有“更新服务引用”

WCF服务无法更新(右键单击要添加服务的项目的名称,列表中没有“更新服务引用”).

img

Hi,你当前的WCF项目是.NET Framework 还是.NET Core 类型的呢?通过你的描述,我找到一个VS已知的反馈,请查看这个问题: https://developercommunity.visualstudio.com/t/16110-update-service-reference-missing/1500425
**
The behavior you’ve observed that “Microsoft WCF Web Service Reference Provider” isn’t there on 16.10.4 is a change by-design.
Start from 16.11, you are supposed to add a service reference via right clicking solution and then choose “Add” -> “Connected Service”, then in the left panel click “Service References (OpenAPI, gRPC, WCF Web Service)”, in the popped up list select “WCF Web Service” and go though the wizards to add a service reference.

To update an existing service, open the “Service References (OpenAPI, gRPC, WCF Web Service)” panel, click “…” beside the existing service which you want to update and then select “Edit” in the dropped down menu item, complete the popped up wizards to update that service.