Re: [mono-android] Xamarin Android Release Build Error

2014-04-17 Thread Jonathan Pryor
Sorry for the delay...

On Apr 8, 2014, at 2:04 AM, venkatesh  wrote:
> It is working fine with Debug mode, when we change to Release mode it shows 
> the error as
> *You need to add a reference to Mono.Android.Export.dll when you use 
> ExportAttribute or ExportFieldAttribute.*.
...
> 
>  

The relevant line in DignosticsBuild.txt is:

2>AndroidLinkMode = Full

i.e. $(AndroidLinkMode) is Full, affectionately known as "please break my code."

You're hitting: https://bugzilla.xamarin.com/show_bug.cgi?id=15022

(which may have been verified incorrectly, as it fails for me with 
Xamarin.Android 4.12.3, which it was supposedly verified with.)

Please try setting $(AndroidLinkMode) to SdkOnly, i.e. "Link SDK Assemblies 
Only".

Thanks,
 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Xamarin Android Release Build Error

2014-04-17 Thread venkatesh
Hi Jon,


Thanks for your prompt reply.  Setting to "Link SDK Assemblies Only" solved
the above issue.



Thanks,

Venkatesh.R 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Xamarin-Android-Release-Build-Error-tp5713691p5713699.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