Link to home
Start Free TrialLog in
Avatar of 50cal
50calFlag for United Kingdom of Great Britain and Northern Ireland

asked on

C# Console App connect to Dynamics 2011 Online

Hi All,

Can anyone advise why the C# CrmServiceHelper class from the 2011 Dynamics SDK does not compile?
Microsoft.Crm.Services.Utility.DeviceIdManager.LoadOrRegisterDevice();
fails with
Error      1      The type or namespace name 'Services' does not exist in the namespace 'Microsoft.Crm' (are you missing an assembly reference?)      C:\....PATH....\crmservicehelpers.cs      384      34      Feedback

Any Ideas?


Thanks,
50cal
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America image

I'm not familiar with MS Dynamics, but based on the error you need to right-click on your project, choose Add Reference, and add a Dynamics DLL as a reference. Do you have any documentation on what namespaces are in what DLL's?
ASKER CERTIFIED SOLUTION
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dj_alik
dj_alik

Avatar of 50cal

ASKER

Thank You.