在 .Net6 中找不到 Soap CustomBinding

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

我有旧的遗留

Standard2.1
项目,带有带有 CustomBinding 的 Soap 服务,我尝试将它升级到
.Net6
。在构建时出现以下错误

//Reference to type 'IBindingRuntimePreferences' claims it is defined in System.ServiceModel.Primitives', but it could not be found

我找到了

System.ServiceModel.Primitives 6.0.0
.Net6
的预发布包,但错误仍然存在。有什么建议吗?

asp.net-core soap .net-6.0
© www.soinside.com 2019 - 2024. All rights reserved.