我有旧的遗留
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
的预发布包,但错误仍然存在。有什么建议吗?