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

后端 未结 13 1814
难免孤独
难免孤独 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条回答
  •  萌比男神i
    2020-11-29 18:30

    I was looking over my project and I was having this same issue. It turned out to be different versions of the same DLL on the WCF vs. Web Site. Web site had a newer version of the DLL and the service was referencing an older version of the DLL. Once they were all in sync all worked well.

提交回复
热议问题