xamarin.android - Using Dapper (or other NuGet packages) with Xamarin Android -


I am currently working on a Xamarin.Android project for a field service service. I looked at the standard Xamarin SQLite.NET component for Data Access Layer, but it does not meet my requirements (for example, I can not create PK with many fields).

I tried to use the Daphar structure, because I have more experience with that and I feel that it is very good.

It could not be found to work with Xamarin.Android. I'm using the zoo with Visual Studio 2013. Whoever knows this?

I tried 3 ways:

  1. Adding Dermatology to the Android Class in Examiner Library - No errors, but Dapar Solution was not under the context group in Explorer and I used to name it Duper

  2. one Adding Dapper to the "General" Pure Classroom Library. - Everything worked, I could add it, I could use the Duper namespace and questions methods etc. But there was an error in referring the project to the main zamirin. Android Application Project (different goal framework)

  3. Adding Dapper to a .NET framework 4.5 and Xamarin.Android targeting a portable class library. - Error adding NuGet package

Brief Question: How to add Depar (or other NuGet packages) to Xamarin.Android? thank you in advanced. Assemblies have been targeted in

  1. .NET 3.5

  • .NET 4.5
  • Since the project's goal, you will be able to use NuGet with an Xamarin Android project Mono Android will not be enabled in the package.

    Dapar has to recompile against the mono-Android target framework, if possible. Otherwise, you will need to look at other options.

    Looking at Dapar GitHub site, there are one of the different classes available in the NuGet package that compiles inside an Android project.


    Comments