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 invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0 .... It is in a simple class with nothing special. 'Standardwert' is a pulbic string property (get, set). Under Debug (no linking) the code runs without problems. Under Release (with linking sdk & user) the exception occurs. Under Release (no linking) the code runs without problems. The library-project is linked to the main-project. My Xamarin.iOS-Version is 4.8.1. I'm on windows 7. Anyone any ideas? Lee -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problem-with-reflection-tp5713582.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid