0

I have created a solution with 3 projects in Xamarin Studio: A ASP.Net Server with POCOs, a Shared Library Core and an Android Project but referencing the shared library project on the Android side fails with Incompatible Target Framework.

What can i do to avoid code replication?

Machinarius
  • 3,637
  • 3
  • 30
  • 53

1 Answers1

0

If you switch to the "beta" channel in Xamarin Studio, you'll be able to link the Android project to the PCL.

If you don't want to use the beta version, you can add the PCL files to your Android app. Instead of copy or move, if you select "link" any changes you make to the files will be represented in both the PCL and Android apps.

Ben Bishop
  • 1,414
  • 9
  • 14