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
that might sound weird, but I got it fixed by deleting the references, then closing Visual Studio, and reopening it again, and finally adding the references again.
I think the custom tool thing needed to be restarted or something.