I'm trying to follow this tutorial to create a proxy class for my WCF service for a MonoTouch project, but when I run the command
C:\Program Files\Microsoft SDKs\Silverlight\v3.0\Tools\SlSvcUtil.exe /noConfig http://yourdomain/yourservice/wsdl
I get the following error:
Error: Could not load file or assembly 'C:\Program Files (x86)\Microsoft Silverlight\5.0.61118.0\System.Runtime.Serialization.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Looking under C:\Program Files (x86)\Microsoft SDKs\Silverlight\v3.0\Libraries\Client doesn't have a System.Runtime.Serialization.dll. Maybe that's the problem and it tries to use the latest .net dll, which won't work with Silverlight.
Any ideas?