AactivateItem stops working when compiled on new devpc

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

http://stackoverflow.com/questions/14830184/caliburn-micro-activateitem-stops-working-when-compiled-on-new-dev-pc


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.