更新到 CRM 2015 后出现错误。使用新的 2015 SDK,以下命令:
CrmSvcUtil.exe /url:https://<organizationUrlName>.api.crm.dynamics.com/XRMServices/2011/Organization.svc /out:<outputFilename>.cs /username:<username> /password:<password> /namespace:<outputNamespace> /serviceContextName:<serviceContextName> /generateActions
返回以下错误:
Exiting program with exception: Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, 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)
它要求版本 6,但如果我尝试运行 SDK 2013,我会收到相同的错误,要求版本 7。
知道如何让它工作吗?
提前致谢