У меня есть программа WPF, которая использует службу Soap, созданную Visual Studio.
Когда я запускаю его в режиме отладки в 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.