Oh, maybe I was not be very clear in my previous post - there are two steps you need to do, 1) and either of 2a) or 2b). For those framework dlls, 1) applies:

1) Microsoft.Csharp.dll, Mono.CSharp.dll has to be added like this
http://docs.xamarin.com/android/advanced_topics/linking#linkskip

This <AndroidLinkSkip> section is about your app's .csproj file. You'll have to open some text editor (not in IDEs) and add those lines manually.

Hope this helps.

(Also make sure that you added more than one [Preserve] lines in that source file as there are more than one classes.)

Atsushi Eno

laurar81 wrote:
how do I add Microsoft.Csharp.dll, Mono.CSharp.dll?
  [Android.Runtime.Preserve(AllMembers = true)] I have added so

using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;

namespace System.Linq.Dynamic
{
     [Android.Runtime.Preserve(AllMembers = true)]
     public static class DynamicQueryable
     {
         public static IQueryable<T>  Where<T>(this IQueryable<T>  source,
string predicate, params object[] values)
         {
             return (IQueryable<T>)Where((IQueryable)source, predicate,
values);
         }
....


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/System-Linq-Dynamic-tp5636105p5638581.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

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




_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to