0
我有一個WPF程序,它使用由Visual Studio生成的Soap服務。WPF Progam中的App.config,在調試期間工作但未編譯
當我在Visual Studio調試模式下它工作正常運行(我放的app.config合同)
但是當我運行它的目錄中編譯後,用的App.config我的編程'是我得到這個錯誤:
ERROR: Could not find endpoint element with name 'LodgeSoap' and
contract 'SMSwebService.LodgeSoap' in the ServiceModel client configuration section. This might
be because no configuration file was found for your application, or because no endpoint element
matching this name could be found in the client element.
優秀:)謝謝 – michael 2012-04-24 06:04:54