我重裝舊項目,並試圖只能運行它運行到綁定失敗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,以及爲什麼它沒有在重建上創建?是的,我已經嘗試更新Web引用(這沒有幫助)。不,我不想升級到WCF Soap Services。