我重新加载了一个旧项目,并尝试运行它只是为了遇到绑定失败MDA助手:
BindingFailure was detected Message: The assembly with display name 'SoapTest.XmlSerializers' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'SoapTest.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
谷歌搜索后,我能找到的唯一解决方案是关闭MDA.这有效,但我更愿意解决底层问题(SoapTest.XmlSerializers.dll不在bin\Debug目录中).我怎样才能解决这个问题?是什么创建了SoapTest.XmlSerializers.dll,为什么它不是在Rebuild上创建的?是的,我已经尝试更新Web引用(这没有帮助).不,我不想升级到WCF肥皂服务.