Hi, Debug.Asserts have been fixed for the 5.3 series, so it should work if you install the latest MonoTouch alpha.
Rolf On Thu, May 24, 2012 at 1:20 PM, Martin Bell < [email protected]> wrote: > Hello. > > I'm unable to figure out from the docs if Debug.Assert is supported or not. > In a debug configuration with any new project created with MonoDevelop, > "DEBUG" is defined but Debug.Assert(false) does nothing. > > Using the assembly browser you can see that Debug.Assert has no > implementation > > using System; > [Conditional("DEBUG")] > public static void Assert(bool condition) > { > } > > Strangely I can see two System Assemblies in the browser, 2.0.0.0 has > Assert > implemented where as 2.0.5.0 does not. I can only select 2.0.5.0 in > references however > > Im developing for iOS but have the Android eval version installed as well > so > this could be why I have a second system assembly. > > Thank you > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Debug-Asserts-tp4652834.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
