I've migrated my add-in project from VS 2008 to VS 2010 recently, and am now receiving the following error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'ESRI.ArcGIS.Carto.IFeatureLayer..... ... No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
I've aready gone through and removed/refreshed the references to my testing framework (I had to move Rhino Mocks when I upgraded). I am curious, has anyone seen this, and which obscure setting have I not captured and repaired -- I've already gone through the x64/x86 switches?