[mono-android] Problem with reflection

2013-10-18 Thread JLee
Hello, i'm filling classproperties over reflection. After outsourcing the code into a library-project i get the following exception: System.ArgumentException: Set Method not found for 'Standardwert' at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags

Re: [mono-android] Problem with reflection

2013-10-18 Thread Jonathan Pryor
On Oct 18, 2013, at 10:57 AM, JLee wrote: > After outsourcing the code into a library-project i get the following > exception: > > System.ArgumentException: Set Method not found for 'Standardwert' The property has been removed by the linker. It doesn't exist. > Under Release (with linking sdk

Re: [mono-android] Problem with reflection

2013-10-18 Thread JLee
I always thought, that the linker only removes complete unused classes. didn't know, that the linker removes single properties. thanks for this info. Due to a large apk-size (30mb without linking / 8mb with full linking) I always used link sdk + user to get the smallest possible size. When I use

Re: [mono-android] Problem with reflection

2013-10-18 Thread JLee
I workedaround this by using "linking sdk + user" and putted my library-assembly in the "skip linking" section. But for future things, maybe we can still fix my problem with "linking sdk only" ?! regards Lee -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem