更新服务引用时出错

mar*_*kus 28 service reference visual-studio-2013

尝试更新类库(VS2013)中的服务引用时,出现以下错误.

"The configuration for the service reference could not be updated due to the following issue: An error occurred creating the configuration section handler for system.serviceModel/bindings: AssemblyResolveEvent handlers cannot return Assemblies loaded for reflection only."

当我尝试删除引用时也会发生同样的错误.

任何排序的帮助将不胜感激.

Can*_*ğlu 61

更新到VS2013 Update 2后,我遇到了同样的问题.

我已经通过暂时system.serviceModel删除整个部分来解决这个问题web.config,将其粘贴到记事本等其他地方.然后,我保存了web.config没有服务模型部分.然后,我能够成功更新服务引用.更新服务引用后,我已将服务模型部分粘贴回web.config并成功运行.


bur*_*ton 18

我可以通过暂时删除extensionssystem.serviceModel部分的元素和任何相关的扩展元素来解决与Can类似的问题.在我的例子中,扩展是Azure Service Bus扩展.