wcf service on mobile 5.0

Posted by user554271 on Stack Overflow See other posts from Stack Overflow or by user554271
Published on 2010-12-26T12:36:51Z Indexed on 2010/12/26 13:53 UTC
Read the original article Hit count: 237

Filed under:
|

hi everyone, I have writed a primitive wcf (vs 2010) service and created proxy files by svcutil. Later I created a mobile project on vs2008 and added proxy files on project but this error occured.

Error 1 The type or namespace name 'ServiceContractAttribute' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?) C:\Users\Abb\Documents\Visual Studio 2008\Projects\WCF\MobileService\MobileClient\Sample.cs

the proxy files runs well on console application (vs 2008) but there is errors on mobile.

System.ServiceModel doesnot support ServiceContractAttribute.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about windows-mobile