Invalid contract attribute for IMetadataExchange

后端 未结 11 1407
走了就别回头了
走了就别回头了 2020-12-25 11:49

I have upgraded a WCF Service to .NET Framework 4.5. After doing so I noticed a blue squiggly line around the IMetaDataExchange in the host config file.

<
11条回答
  •  伪装坚强ぢ
    2020-12-25 12:01

    Perhaps not the answer for the OP, but others with this problem should check that [ServiceContract] is declared for the interface of your services, because this produces the exact error.

提交回复
热议问题