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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chinmay PatelChief Technical NinjaCommented:
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:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.