Debugging Where Contract Errors Are

Mar 1, 2011 at 11:10 PM

I know this question might be too vague, but I thought I might throw this out.  I have made a pretty complex application with CM that has a BaseShell program and then many modules found at runtime.  From time to time I will get a bizarre error like I do today which is

Could not locate any instances of contract Caliburn.Micro.IWindowManager.

What is odd is that if I compile the project and just run the .exe file, it finds the modules fine and adds them.  But if I try to actually run the VS2010 project in debug, it will always die on GetInstance override in the Bootstrapper. 

Any suggestions on how I can figure out what is going on??