Feb 20 2008
Why aren’t my custom attributes and custom entities showing up in my intellisense?
A quick lunch break “gotcha” post before I forget:
Have you ever tried to create a new instance of a crm entity via the SDK only to find that none of your custom attributes (or custom entities for that matter) are showing up in your intellisense? What’s worse, you get a compiler error when try to build because your “new_” prefixed attribute isn’t a recognized member of the class (something like: ’<CrmSdk>.<entity>’ does not contain a definition for ‘new_<custom_attribute>’)?
Well, if you added the web reference to the SDK before you added/published your customizations in CRM, you’ll need to “Update Web References” in Visual Studio before it will compile.

To do this:
- Go to the Solution Explorer in Visual Studio and expand your project.
- Right-click your “App_WebReferences” or your specific web reference to the CRM SDK and select “Update Web References.”
-p