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