gpt4 book ai didi

c# - 连接的服务组件 Microsoft WCF Web 服务引用提供程序失败。(HRESULT : 0x80131500) the project format is incorrect

转载 作者:行者123 更新时间:2023-12-04 12:35:57 24 4
gpt4 key购买 nike

两周前我将我的项目从 dotNetCore 2.2 升级到 3.0。现在我想给它添加一个 Web 服务。我正在使用 Visual Studio 2019

但是当我点击 时出现了这个错误Microsoft WCF Web 服务引用提供程序

关于 Microsoft WCF Web 服务引用提供程序的所有建议都与我的错误相同

这是我得到的错误

The connected services component Microsoft WCF web service reference provider failed.(HRESULT: 0x80131500) the project format is incorrect



有人可以建议解决这个问题吗?
谢谢

最佳答案

就我而言,我删除了 csproj 中的 System.ServiceModel 包。

  <ItemGroup>
<Reference Include="System.ServiceModel" />
</ItemGroup>

关于c# - 连接的服务组件 Microsoft WCF Web 服务引用提供程序失败。(HRESULT : 0x80131500) the project format is incorrect,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61816313/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com