I'm creating an ASP web app that will connect to CRM. but I got error every time I run my application: ERROR Could not load file or assembly 'Microsoft.Xrm.Client
Using the Microsoft.Xrm.Client.dll Version: 5.0.9690.2165 as reference give us an error :
Could not load file or assembly 'Microsoft.Xrm.Client, Version=5.0.9689.2166, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
But when we replace the dll with Microsoft.Xrm.Client.dll Version: 5.0.9689.2166 as reference give us an error:
Could not load file or assembly 'Microsoft.Xrm.Client, Version=5.0.9690.2165, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
And I cant add both version as my Reference. I'm confused what version on of the Microsoft.Xrm.Client.dll Version to use to debug this Error.