Certaines de mes méthodes dans le service WCF renvoient une entité à partir de Entity Framework. Je ne peux pas ajouter la référence de service Web dans mon application Windows Phone 7 en raison de cet avertissement:WCF Service + Entity Framework: Comment envoyer une entité?
Custom tool warning: Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter Error: Could not load type 'System.Runtime.Serialization.DataContractSet' from assembly 'System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IBarnGameServiceNEW'] D:\MGameWindowsPhone7\Service References\ServiceReference3\Reference.svcmap
Quelle est la raison?