[MonoTouch] Newtonsoft.Json problem with Twitterizer

kpijnenburg kpijnenburg at supportware.nl
Wed Dec 21 06:45:26 EST 2011


I'm getting a little further. I found somewhere online a monotouch
twitterizer version Netwonsoft.JSON.

It now correctly works in the Simulator but on the device i get:
Dec 21 12:36:21 unknown
UIKitApplication:com.supportware.MyFootballProHD[0x99ac][3488] <Notice>:
Unhandled Exception: System.ExecutionEngineException: Attempting to JIT
compile method
'System.Linq.OrderedEnumerable`1<System.Collections.Generic.KeyValuePair`2&lt;string,
object>>:CreateOrderedEnumerable
(System.Func`2<System.Collections.Generic.KeyValuePair`2&lt;string, object>,
object>,System.Collections.Generic.IComparer`1,bool)' while running with
--aot-only.


This has everything to do with AOT iguess. There are some tricks to declare
the type in code so it wil get aot'd. How would i do this? In this case with
this type?

Thanks in advance.

--
View this message in context: http://monotouch.2284126.n4.nabble.com/Newtonsoft-Json-problem-with-Twitterizer-tp4219606p4221275.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list