We are using NCrunch, and also another Visual Studio Extension called CRM Solution Manager. When opening a certain dialog from that extension, Visual Studio displays the following error:
[A]DevExpress.Utils.ImageCollectionStreamer cannot be cast to DevExpress.Utils.ImageCollectionStreamer. Type A originates from 'DevExpress.Utils.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\[b]Remco Software\NCrunch for Visual Studio 2012\DevExpress.Utils.v11.2.dll'. Type B originates from 'DevExpress.Utils.v12.2, Version=12.2.2.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' in the context 'LoadFrom' at location 'C:\Users\atriesch\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\3robf52m.ify\DevExpress.Utils.v12.2.dll'.
at SimplerSoftware.CRM_Solution_Manager.ToolWindows.PluginsControl.InitializeComponent()
at SimplerSoftware.CRM_Solution_Manager.ToolWindows.PluginsControl..ctor(Guid AssemblyId)
at SimplerSoftware.CRM_Solution_Manager.Forms.frmCustomAssemblyProject..ctor(Guid AssemblyId)
at SimplerSoftware.CRM_Solution_Manager.CRM_Solution_ManagerPackage.AddProjectsToSolution(UnitOfWork UnitOfWorkTemp, UserSolution SolutionTemp, List`1 SelectedProjects)
This happens in both Visual Studio 2010 and 2012; uninstalling NCrunch makes the dialog work, but of course I don't want that.
I have also reported this to the developers of the other extension, and I am aware that it may simply be caused by the way Visual Studio handles extensions and not be solvable at all by individual extension developers. I'm just posting it here in case something can actually be done.