[mono-android] property getValue error (reflecting)

2012-12-19 Thread javitxin
Hi, I have a problem when using my deveolped app.. This is the stacktrace : + ex {System.ArgumentException: Get Method not found for 'ID_EMPLEADO' at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x0] in :0 at eGestionaMobile_Da

Re: [mono-android] property getValue error (reflecting)

2012-12-19 Thread javitxin
has shared runtime anything to do with this? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/property-getValue-error-reflecting-tp5712653p5712654.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] property getValue error (reflecting)

2012-12-19 Thread Goncalo Oliveira
You're getting the link shrinkage symptom... Release builds usually have Linking set to 'Sdk assemblies'. This strips 'unused' stuff to reduce the final package size. This can lead to reflection triggering exceptions for not finding a type or method or property. Try building a release with Linking

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread John Murray
I've posted a bug For gen information A newly created project stops at breakpoints as it should I recalled that two other 'tricks' were to delete the obj and bin folders or to delete mdb and pdb files Neither of these work Obviously after each step obe cleans and builds I've imported a back u

Re: [mono-android] property getValue error (reflecting)

2012-12-19 Thread Javier Martínez Sáez
Bingo!!! It worked.. but it’s too heavy..Any idea to reduce the final package size? Un saludo Javier Martínez Sáez Responsable Soporte Técnico eLegisla Descripción: Logo_nuevo_externalia www.externalia.com Tfno.: 945 291 68

Re: [mono-android] property getValue error (reflecting)

2012-12-19 Thread Goncalo Oliveira
That's the linker's job. But you'll have to "fool" the linker that you need the class you're trying to do reflection with so he doesn't chop it off from the final package. The link I gave you shows a few examples. I myself have created a class where I "tell" the linker that I am using a certain cl

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread John Murray
Further to my last post I've now tried 4 old back up projects and none can be made to debug properly Sorry to be a complete plank but can anyone tell me the steps I need to take to de install 4.4.41 and go back to whatever was current last August? I'm getting desperate for a debuggable solution so

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread Goncalo Oliveira
John, You probably did this step already, but just in case. I also had the same problem when installing the new version. The only way I got it to work again was to clean the whole solution, uninstall shared runtime, mono framework and my application from the device and then running it again. Someo

[mono-android] proguard

2012-12-19 Thread Jeremy A. Kolb - ARA/NED
Is there a way to use proguard to shrink jars that's compatible with Xamarin? ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread John Murray
Thanks for the suggestions much much appreciated However ... as you said, I’ve deinstalled everything from the mobile I’m testing on (two actually a Samsung Galaxy tablet running Honeycomb and a sony xperia running ICS) It also doesn’t work on the emulator (I’ve had situations before where i c

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread Jonathan Pryor
On Dec 19, 2012, at 6:53 AM, John Murray wrote: > can anyone tell me the steps I need to take to de install 4.4.41 and go back > to whatever was current last August? 1. Go to: https://store.xamarin.com/account/Products 2. For a given license/product, click the "Show Recent Releases" link. The S

Re: [mono-android] proguard

2012-12-19 Thread Jonathan Pryor
On Dec 19, 2012, at 8:52 AM, Jeremy A. Kolb - ARA/NED wrote: > Is there a way to use proguard to shrink jars that’s compatible with Xamarin? I'm not sure this will ever be possible. Proguard is conceptually similar to our linker, and as such it requires a "global" view of all Java bytecode so t

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread John Murray
Addendum to that I’ve now tried about 6 versions of project going back to 6months ago 1) It is this specific project which wont debug – new projects and some other test projects set up months ago seem to debug OK. On this project cannot stop at first line of oncreate) 2) No amount of

Re: [mono-android] debugger breakpoints 4.4.41

2012-12-19 Thread Jonathan Pryor
On Dec 19, 2012, at 6:33 PM, John Murray wrote: > Addendum to that > I’ve now tried about 6 versions of project going back to 6months ago Wow. Thank you. > And I’m clean out of ideas Can you make an archive of that directory so that we can investigate? One last idea: if other projects work an