Friday, March 16, 2012

Editing CRM 2011 “Customizations.Xml” in VisualStudio

AKA “Enabling intellisense in Visual Studio for editing the Customizations.xml file”

Download the CRM 2011 SDK. In the SDK you will find a folder called “Schemas”.

image

Open the “customizations.xml” from the solutions package that you exported out of CRM in Visual Studio. Press the “F4” button (or go to the “Properties” window). Click in Schemas:

image

Add the “customizationssolution.xsd” schema, and after that you should have intellisense!

image image

Note: in case schema intellisense does not work for you, try adding the following schemas in addition to “customizationsSolution.xsd” file:

fetch.xsd
formxml.xsd
isv.config.xsd
ribboncore.xsd
ribbontypes.xsd
ribbonwss.xsd
sitemaptype.xsd

No comments: