Service reference not generating client types

前端 未结 7 949
野性不改
野性不改 2020-12-06 04:13

I am trying to consume a WCF service in a class library by adding a service reference to it. In one of the class libraries it gets consumed properly and I can access the cli

7条回答
  •  渐次进展
    2020-12-06 04:54

    This normally happens for adding a service reference that you had added before. In the client config, it still has the relevant servicemodel. Make sure you delete the servicemodel from the client config and then try to re-add the service reference again!

提交回复
热议问题