Friday, May 11, 2012

Crm 2011- Generating early bound classes using crmsvcutil.exe

1. Open the visual studio 2010 and click Tools->External tools
2. Now click Add button and type as following
  • Title:
crmsvcutil tool 
  •   Command:
 E:\AKILAN\CRM Training\SDK\sdk\bin\crmsvcutil.exe
                (path of crmsvcutil.exe in sdk)
  •  Arguments:
/username:<username> /password:<password> /domain:<domainName>
/namespace:Xrm /serviceContextName:XrmServiceContext
(organization service url, output file name,username,password) 
  •   Initial directory:
(Path of the output files to be stored)
Uncheck the “Close on exit” and click ok
3. Now click tools-> crmsvcutil tool to generate early bound classes

Note: to use crmcvcutil in windows xp, windows identity foundation must be installed.
To install windows identity foundation in xp,  Copy C:\Program Files\Reference Assemblies\Microsoft\Windows Identity Foundation folder to to C:\Program Files\Reference Assemblies\Microsoft folder from windows server 2008/7 OS to windows xp.


No comments:

Post a Comment