[mono-android] Reflection GetSetMethod of Java.Lang.Object always return null

2013-01-18 Thread CreMean
Here is the code I use to get a setter via reflection: // Def public static T GetPropertySetter (System.Object o, string propName) { var prop = o.GetType().GetProperty( propName ) var setter = o.GetSetMethod(); ... } // Call var mySetter = GetPropertySetter>(myObject, "X")

Re: [mono-android] Does plugin architecture supported in mono framework??

2013-01-18 Thread ggeorge
Jon, These plug-in assemblies are local and will be kept in a folder like /bin/../Plugin and will be distributed with the app. I tried Assembly.Load("FileBasename") but never worked for me. Can you please share some code that works using mono for android?. I expect the same code should also work wi

Re: [mono-android] Mono for Android installation fails on Win7 Prof.

2013-01-18 Thread Banzai
Hi Jonathan, thx for your reply. I have do what you wrote with following result: log from msiexec /=== Verbose logging started: 16.01.2013 10:38:27 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\system32\msiexec.exe === MSI (c) (40:8C) [10:38:27:341]: Font created. Charset

Re: [mono-android] Does plugin architecture supported in mono framework??

2013-01-18 Thread Jonathan Pryor
On Jan 15, 2013, at 11:02 PM, ggeorge wrote: > These plug-in assemblies are local and will be kept in a folder like > /bin/../Plugin and will be distributed with the app. How are they distributed with the app? If they're "normal" Assembly References within the application's project, they should

Re: [mono-android] Mono for Android installation fails on Win7 Prof.

2013-01-18 Thread Jonathan Pryor
On Jan 16, 2013, at 5:03 AM, Banzai wrote: > I have do what you wrote with following result: ... > Means: /This installation package could not be opened. Have the vendor of the > application, whether it is a valid Windows Installer package./ Sounds like the download is corrupted. Please delete t

Re: [mono-android] Reflection GetSetMethod of Java.Lang.Object always return null

2013-01-18 Thread Jonathan Pryor
On Jan 15, 2013, at 9:57 PM, CreMean wrote: > Here is the code I use to get a setter via reflection: Remember, there are plenty of properties which have no setters. That said... > // Call > var mySetter = GetPropertySetter>(myObject, "X"); That doesn't look right at all. Property setters (almos