Generate Early Bound Type Class file using CRMSVCUtil.exe – MS CRM 2011

Generate Early Bound Type Class file using CRMSVCutil.exe

To Generate Early Bound Type Class file used to reference CRM entity schemas in C# code.

To build the proxy file, you need to have the Microsoft Dynamics CRM 2011 SDK. In case you don’t have it please click here to download. TheEarly Bound Type Class file will be created in the bin folder of the SDK. The path should be something like:

C:\Microsoft Dynamics CRM 2011\SDK\bin

Below is the command to generate the proxy file. The text in green should be replaced by specifics from your environment.

CrmSvcUtil.exe /url:<Organization URL>/XRMServices/2011/Organization.svc /out:Entities.cs

The above command return the C# file in the above specified location with Entities.cs.

Cheers,

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s