To generate XRM.cs navigate to the sdk bin folder from the command prompt and use the below command
NOTE: This command works for crm 2011 online environment
CrmSvcUtil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization, Microsoft.Xrm.Client.CodeGeneration" /url:https://crmtest.api.crm.dynamics.com/XRMServices/2011/Organization.svc /out:Xrm.cs /username:liveid /password:password /deviceid: deviceid /devicepassword: devicepassword /namespace:Xrm /servicecontextname:XrmServiceContext /servicecontextprefix:Xrm
References:
http://msdn.microsoft.com/en-us/library/gg695782.aspx
NOTE: This command works for crm 2011 online environment
CrmSvcUtil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization, Microsoft.Xrm.Client.CodeGeneration" /url:https://crmtest.api.crm.dynamics.com/XRMServices/2011/Organization.svc /out:Xrm.cs /username:liveid /password:password /deviceid: deviceid /devicepassword: devicepassword /namespace:Xrm /servicecontextname:XrmServiceContext /servicecontextprefix:Xrm
References:
http://msdn.microsoft.com/en-us/library/gg695782.aspx
No comments:
Post a Comment