Error running a WPF/PRISM app from an ArcGIS Desktop Add In button

Discussion created by demcast on Nov 16, 2011
Latest reply on Nov 30, 2011 by demcast
I'm just wondering if anyone out there has tried running a WPF app that uses PRISM from a button add-in in ArcMap.  The OnClick event goes as far as initializing and showing the Shell.xaml but when it tries to load the modules and the controls in the regions, I get this error:

"Unable to cast transparent proxy to type 'InnerModuleInfoLoader'"

Any help will be appreciated.