Hi Sebastien,

I see now that I'm since this week with 5.2.5 versionŠ Well.. I think that
now it's just recompile and publish new version for usersŠ
I just didn't reproduce it again now, also with the application compiled
with previous to 5.2.

Thanks,

Karl

From:  Sebastien Pouliot <[email protected]>
Date:  Thu, 8 Mar 2012 20:10:04 -0500
To:  Karl Heinz Brehme Arredondo <[email protected]>
Cc:  "[email protected]" <[email protected]>
Subject:  Re: [MonoTouch] Strange issue iOS5.1 vs
Environment.SpecialFolder.Personal

Hello Karl,

AFAIK this error is caused by a change in iOS 5.1 that does not allow
everyone to write to `stdout` (and return an access denied).

It should only occurs when using "Console.WriteLine" and was fixed in
MonoTouch 5.2.4 [1] (where the exception will be ignored, i.e. no
writing on `stdout`).

If you cannot update to 5.2.4 then you can try:

a) calling: Console.SetOut (new StreamWriter (Stream.Null));

b) add #if DEBUG ... #endif around the Console.WriteLine from your
application (so they won't reach your users)

Regards,
Sebastien

[1] http://docs.xamarin.com/MonoTouch_5.2#Changes_in_MonoTouch_5.2.4



_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to