AactivateItem stops working when compiled on new devpc

Topics: Bugs
Feb 13, 2013 at 9:16 AM
I am forwarding mine question from stackoverflow:


the last comment is probably the closest one to the reason but i cannot find the cause (i will add that the same code works on my old pc thus i am assuming that this may be something with some (not) installed library or so - but i would appreciate any tips.)

kind regards

martin fontan
Feb 21, 2013 at 3:19 PM
my mistake.

I had [Export(typeof(IShell))] attribute provided for one of mine in-app view models whereas it was supposed to be declared only for shell view model. Problem was then caused when GetInstance was called for IShell.