WCF Contract Name 'IMyService' could not be found?

后端 未结 13 2082
借酒劲吻你
借酒劲吻你 2021-02-01 01:16

The contract name \'IMyService\' could not be found in the list of contracts implemented by the service \'MyService\'.. ---> System.InvalidOperationException: The

13条回答
  •  悲哀的现实
    2021-02-01 01:26

    Ok, this doesn't really satisfy my question, but one way that I found to resolve it was to install .NET 3.5. because both of my other environments had 3.0.

    So I really haven't determined why it would work in one environment and not the other, especially with that interface error.

    Go figure?

提交回复
热议问题