We help IT Professionals succeed at work.

CRMSVCUTIL CRM 2011 ONLINE PLUG

SteveHiggon
SteveHiggon asked
on
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
Comment
Watch Question

Chinmay PatelChief Technology Ninja
Distinguished Expert 2018

Commented:
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.
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

Author

Commented:
Didn't answer the original question and the suggestion was previously understood, but I appreciated the time and effiort to feedback his thoughts.

Author

Commented:
Tried setting to zero...