estou com o seguinte problema, ao criar um serviço WCF diz que o IMetadataExchange não foi encontrado, o meu APP.config é:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
</appSettings>
<system.web>
<compilation debug="true" />
</system.web>
<system.serviceModel>
<services>
<service name="ServiceHostWindows.GetService" >
<endpoint address="http://localhost:8733/getservice" binding="webHttpBinding" contract="ServiceHostWindows.IGetService">
</endpoint>
<endpoint name="MyServiceMex" address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior>
<webHttp/>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name = "MyBeh">
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="False" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
Eu vi um comentário pedindo para adicionar mas não resolveu o problema, o que devo fazer?
name="MyServiceMex"