Hi community,
I installed Visual Studio 2012 and the “Dynamics CRM 2011 Developer Tools” (version 1.1).
When I open a VS-solution that was created with Visual Studio 2010 and the previous version of the crm-dev-tools the tools itself are working. I can see and access my organization directly from VS. But when I hit “Deploy” on the CrmPacakge-project I receive
the following error:
Error connecting to CRM Server. [A]Microsoft.CrmDeveloperTools.CrmClient.Entities.Solution cannot be cast to [B]Microsoft.CrmDeveloperTools.CrmClient.Entities.Solution. Type A originates from 'Microsoft.CrmDeveloperTools, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Dynamics CRM 2011 Developer Tools\1.0\Microsoft.CrmDeveloperTools.dll'. Type B originates from 'Microsoft.CrmDeveloperTools.CrmClient, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'LoadFrom' at location 'C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.dll'. C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.targets 176 4 CrmPackage
So it seems that version 1.0 of the crm-dev-tools is not compatible with crm-dev-tools 1.1. Is this a known issue and does someone knows a solution to this problem?
Regards,
Daniel