I have a Silverlight application that I want it to consume a WCF service. I added a SL WCF service to the web application and it works fine but when I added a method with an argument of type Polygon, the web browser displays this message when viewing the service in the broser:
Could not load file or assembly 'System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
When I remove the argument then the service works fine.
I also noticed that the message includes this sentence: Could not load file or assembly 'System.Runtime.Serialization, Version=2.0.5.0
I verify the one is in the reference and it is v2.0.50727.
Any ideas?
Thanks in advance.