将WSDL添加到.NET Core项目中

问题描述 投票:0回答:1

我将WSDL添加到我的.NET Core项目中。它无法将服务引用添加到项目。消息“当前项目类型不支持连接的服务”。

任何人都可以给我提示解决此问题的方法吗?

enter image description here

更新1

版本:Visual Studio 2017(V 15.3.5)

项目类型:.NET Core Console应用

更新2

我已经尝试过link,并且在要安装的安装区域中未显示“ WCF Web服务参考提供程序”。

enter image description here

.net-core visual-studio-2017 wsdl asp.net-core-2.0
1个回答
0
投票

WCF Web服务参考提供程序工具需要Visual Studio 2017 15.5或更高版本:https://docs.microsoft.com/en-us/dotnet/core/additional-tools/wcf-web-service-reference-guide

尝试将Visual Studio升级到最新版本:工具->获取工具和功能

© www.soinside.com 2019 - 2024. All rights reserved.