Could not find default endpoint element that references contract

前端 未结 7 1284
傲寒
傲寒 2020-12-09 11:13

I know this has been beaten to death, but I cannot get this to work as it should. I have a WCF service with several contracts. They all work fine when calling them directly

7条回答
  •  暖寄归人
    2020-12-09 11:58

    In my case I had a WPF project referencing an external UserControl which had a service reference. I had to add the service reference to the main project as well.

提交回复
热议问题