What does this WCF error mean: “Custom tool warning: Cannot import wsdl:portType”

后端 未结 13 1812
难免孤独
难免孤独 2020-11-29 17:38

I created a WCF service library project in my solution, and have service references to this. I use the services from a class library, so I have references from my WPF applic

相关标签:
13条回答
  • 2020-11-29 18:39

    My interfaces of the WCF service are in an assembly, the implementation is in an another and the service reference is in yet another assembly, separate from the clients of the service reference. I got the error message right after I applied the DataContract to an enum. After I applied EnumMember to the fields of the enum, the issue resolved.

    0 讨论(0)
提交回复
热议问题