The contract name \'IMyService\' could not be found in the list of contracts implemented by the service \'MyService\'.. ---> System.InvalidOperationException: The
There's 2 mistakes in my case:
The config sections are copied from another proxy project, and I forgot to change the namespace to full path.
As a client, I copied the endpoint section into services node - the client is also a wcf service.