[mono-android] TinyIOC Registration Hangs In Debug Build
Ryan Hoffman
rhoffman at extended64.com
Sat Oct 6 03:49:58 UTC 2012
I have created this bug for the issue I have described in the initial post:
https://bugzilla.xamarin.com/show_bug.cgi?id=7700
-Ryan Hoffman
On Sat, Sep 29, 2012 at 7:08 PM, Ryan Hoffman <rhoffman at extended64.com>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20121005/063bfa56/attachment.html>
More information about the Monodroid
mailing list