Hi,
I am developing CRM 2011 workflow that uses Azure Service Bus.
On my development machine, I have installed the latest Azure SDK 2.2 for VS 2012. Further I have added a reference of Microsoft.ServiceBus.dll (v2.2) in my project. When I deploy the CRM workflow to CRM server it generates below exception.
Could not load file or assembly 'Microsoft.ServiceBus, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:
0x80131040
Further when I checked the CRM server. Its control panel shows - Windows Azure AppFabric SDK 1.0. And I found Microsoft.ServiceBus.dll at 3 locations
1. Global Assembly Cache with version 1
2. C:\Program Files\Microsoft Dynamics CRM\Server\bin with version 1
3. C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly with version 1
Then I installed Windows Azure libraries v2.1 and Azure tools for VS 2010. Then I again checked above three locations. Below is the status of the same.
1. Global Assembly Cache with version 1
2. C:\Program Files\Microsoft Dynamics CRM\Server\bin with version 1
3. C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly with version 2.1
Still the workflow fails with same exception. But when I tried to build workflow with ServiceBus v1 then it works fine. But how can I upgrade CRM server with latest version of Azure libraries so that I can build the workflow with latest version of ServiceBus.dll?
Any help will be much appreciated.
Ajay Chawla