Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Help with EarlyBind Class generation for D365 online Instance

(0) ShareShare
ReportReport
Posted on by 247

Hello,

I am working on project work to setup the D365 online instance but based on a CRM 2011 code base which uses early binding classes.

Can I get some help with generating the early binding ServiceContext (Entity.cs) and mainly the OptionSet.cs file as to whether I should be using the “EarlyBind Generator tool” of the XRMToolbox or the native SDK based utility crmsvcutil.cs.

For the native SDK option, I may to find a way to change the "local Option Set Format" to have "_" in between them as the default one from SDK comes as {0}{1} for Entity Schema Name ({0}) and Attribute Schema Name ({1}). Can I get help with this one part too?

Thanks in advance, AR

  • Johannes Braaksma @viadata Profile Picture
    45 on at
    RE: Help with EarlyBind Class generation for D365 online Instance

    Hello AR,

    Could you explain you question a little bit better? Because I don't understand wat you want from us.

    Is the main question "Which early bound generator should I use, XRMToolbox or the native SDK based utility?"?

    Answer:

    This depends on you preference. XRMToolbox Early bound generator is an UI wrapper around crmsvcutil.exe. So everything XRMToolbox Early bound does can be done with crmsvcutil.exe.

    The great benefit of XRMToolbox Early bound is that is saves the configuration in a nice settings file which can be stored in a versioning system. In this way you or your team members can easily extend the existing solution.

    I don't understand wat you want to say in you last paragraph about "local Option Set Format".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans