Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

WCF Data Services does not compatible with Microsoft.Xrm.Client

$
0
0

Hi, there is i guess a complete mess with Dynamics CRM Sdk and WCF Data Services.

Class Xrm generated by CrmSvcUtil.

We have this

class XrmServiceContext : Microsoft.Xrm.Client.CrmOrganizationServiceContext

but Microsoft.Xrm.Client in which CrmOrganizationServiceContext remains

has  reference to

System.Data.Services, Version=4.0.0.0

so when compiling I get

Error 56 The type 'System.Data.Services.IUpdatable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ... Xrm\Xrm.cs 321467 23 Xrm

Error 55 The type 'System.Data.Services.IExpandProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ... Xrm\Xrm.cs 321467 23 Xrm

Error 57 The type 'System.Data.Services.DataService`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. ...\Xrm\Xrm.cs 328709 23 Xrm

As you can imagine The  Mess is complete!

Any one have a clear vision what I have to do ?


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>