CRMSVCUTIL CRM 2011 ONLINE PLUG

Hi,

Just tried using the crmsvcutil to generate code for inclusion within a PlugIn I'm writing. This PlugIn is to be hosted within a CRM 2011 Online site.

The problem I'm having is that the generated code refers to Microsoft.Xrm.Client which doesn't seem to be support with CRM Online.

I've been able to register the PlugIn, run it without error by removing the generated code and use late bound, but as soon as I add in the code generated from crmsvcutil.exe, I then need to reference the above DLL.

Is there a way around this for Early Bound data types?

Thanks,

Steve
SteveHiggonAsked:
Who is Participating?
 
SteveHiggonAuthor Commented:
Thanks for the comment, just odd that their was the inconsistency between Online and In House. You can add the missing DLL to your bin directory if self hosted. I'll do as you have suggested in the absence of aby other options.

Thanks,
  Steve
0
 
Chinmay PatelEnterprise ArchitectCommented:
Hi SteveHiggon,

Any specific scenario you are trying to handle? It is generally recommend not to use Early bound data types with plugins[I generally avoid using Early bound data types as a practice].

Regards,
Chinmay.
0
 
SteveHiggonAuthor Commented:
Didn't answer the original question and the suggestion was previously understood, but I appreciated the time and effiort to feedback his thoughts.
0
 
SteveHiggonAuthor Commented:
Tried setting to zero...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.