-1

I'm developing my first application for CRM 2011. I've imported all .dll necessary for development.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using Microsoft.Crm.Sdk.Messages;

but when I call some simple classes like "Annotation", "Letter" , "Email", the visual studio doesn't detect these classes.

Has anybody knows why?

hello B
  • 891
  • 5
  • 18
  • 41

1 Answers1

3

You need to use the tool CrmSvcUtil that comes with the SDK in order to generate your strongly typed classes.

Create Early Bound Entity Classes with the Code Generation Tool (CrmSvcUtil.exe)

Jason Lattimer
  • 2,858
  • 15
  • 14