One of my new ventures will be run on Windows Azure and store data in CRM Online. This will require that I use the Microsoft.crm.sdk.dll assemblies to communicate with CRM.
Technically, there are four sets of these assemblies in the SDK:
- One set for CRM On-premise
- One set for CRM Online.
- 32-bit versions
- 64-bit versions
It turns out that Windows Azure is a 64-bit operating system. Here is how I had to configure Visual Studio to properly generate my new web site:
Platform Target
This needs to be set to Any CPU, which will create code that can be run on either 32-bit or 64-bit operating systems.
Microsoft.crm.sdk.dll Assemblies
You need to reference the 64-bit assemblies. Otherwise, you’ll end up with the yellow screen of death and a message about unable to load assembly because of an invalid format.
I hope that helps. Good luck with your own Azure development





