[mono-android] ActivityAttribute -> Name Property Bug?

Travis Smith travis at legomaster.net
Tue Mar 8 11:17:26 EST 2011


In VS 2010...

1. new monodroid project
2. change activity1.cs, activity attribute to include Name = "Main"
        [Activity (Label = "My Activity", MainLauncher = true, Name = "Main")]
3. build

gives...
ArgumentOutOfRangeException: Cannot be negative.

Same in MonoDevelop on Mac OS X.

Now, I'm completely sold that maybe I shouldn't be apply the Name
property to this attribute. However, the exception is useless in
debugging why it won't build.

Thanks!

-- 
-Travis


More information about the Monodroid mailing list