Hint: This questions has many duplicates, but none of the solutions works for me.
What I have is a web service and a client, both having references to a shared assem
OBJECTCEPTION!
We recently had the same problem where I work. It took us four hours to hunt down the problem, but we eventually discovered that an enum on an object within the same dll as the object it was refusing to copy had the same name as another enum that was being used in the service, so it refused to reuse any types from that dll.
Suggestion(solution?): Make sure that there are no other objects in the dlls, or objects on those object, or... etc. that have the same name as one in your service.