|
I'm building my first cinch app, and if I run my project with the debugger, it works fine.
However, if I run without the debugger, it will crash when attempting to do this in Cinch's PopupResolver.cs. (originally it was throwing an exception, but I removed the try-catches to see exactly where is was failing)
uiVisualizerService = ViewModelRepository.Instance.Resolver.Container.GetExport<IUIVisualizerService>().Value;
If I launch the debugger after the crash, I see that the "Instance" is set to an object, but the "Resolver" is null.
(If I run with debugger, I see that the "Resolver" is in fact, set to an object).
Also, I can run the cinch demo project without the debugger just fine.
Am I missing something related to the setup of MEF?
thanks,
Kurt
|