crm = new Xrm.XrmServiceContext("connection"); <-- cannot convert string to 'Microsoft.Xrm.Sdk.IOrganizationService'
which is the right Sdk Version to be used ??
*This post is locked for comments
Hi All,
Just to update. The issue here was not with CRM SDK DLL references but the early binding file used was not correct as it had a different name for the Context Object than the one used in the file I was referring it from.
I am not sure. Take a look here-
community.dynamics.com/.../how-to-solve-could-not-load-type-39-xrm-xrmservicecontext-39
Hope it helps.
After adding Microsoft.XRM.Sdk from www.nuget.org/.../6.0.2. It is giving below error.
The Type or namespace name 'XrmServiceContext' could not be found.
Thanks Mohammed. Please do remember to close the thread by marking the suggestions as helpful!
Yes Thanks Ravi.
You need to extract the folder.
Hi,
You can download the dll's manually as well if required from the same nuget package. There is a manual download option on the right.
Here is the direct link for the same-www.nuget.org/.../6.0.2
Hope this helps.
Hi Ravi, Ridhima,
Sorry to bother you guys all over again. Can you please provide me Microsoft.Xrm.Sdk.dll from that package in a shared drive, one drive may be. I do not have a Internet Connection on the server where VS is installed. Please
------ I got dlls by renaming the extension from nupkg to zip thanks!!!
Hope it helps
Hi Ravi,
is there any way other than Nugets? a direct download link ??
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156