Just bought my MfA and MT licences, and I'm getting started :).  I want to
use an IoC container in my apps, and I've chosen TinyIoC as it is
compatibile with MfA and MT.

I've just been struggling with an issue when compiling in Debug mode.  When
I call AutoRegister() on the IoC, that line never seems to return, and the
app freeze.  This works properly in Release mode.  Here is what the code
looks like in my activity:

protected override void OnCreate(Bundle bundle)
{
    base.OnCreate(bundle);
    TinyIoCContainer.Current.AutoRegister();

    // anything after the previous line does not
// execute in a Debug build.
    SetContentView(Resource.Layout.Welcome);
}

It does not seem that there is anything relevant in the android logs, and
no errors are in the debug window.  What could be causing this?  Is there
any suggestions you guys have?

-Ryan Hoffman
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to