I have a Silverlight Class Library that contains my objects. I have added a reference to System.Runtime.Serialization to this project. It's version 126.96.36.199, Runtime Version v2.0.50727, File version 4.0.50826.0.
My portal project contains a service that exposes the object in the class library.
When I try to update the service reference in my Silverlight Application it gives me the following error:
Could not load file or assembly "System.Runtime.Serialization, Version 188.8.131.52 .... or one of it's dependencies. The system cannot file the file specified.
It worked fine before I added the reference for System.Runtime.Serialization.
My Portal project does not reference System.Runtime.Serialization, but other assemblies that are exposed by the same service due. Some of them are not Silverlight class libraries so they reference the .Net Version 184.108.40.206 version.
How can I fix this error?