Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Portable Class Libraries do not work

$
0
0

Portable class libraries are listed as one way to share code between projects here: http://docs.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/part_3_-_setting_up_a_xamarin_cross_platform_solution

When I try to reference a Portable Class Library from an Android project in Xamarin Studio (4.0.3 build 13) it shows an Incompatible target framework error.

I'm sure this used to work in MonoDevelop.

Am I missing something or is this a bug in XS?

I tried this on a freshly installed version of Xamrain Studio, Xamarin.Android and the Microsoft Portable Library Tools 2 to rule out other causes. http://visualstudiogallery.msdn.microsoft.com/b0e0b5e9-e138-410b-ad10-00cb3caf4981/

Without this feature, the only way to share code is file linking. It would be nice to one day get the same level of code sharing as Java. I'm not a big fan of Java but it is far better at code sharing. LibGDX is a great example of how this works http://libgdx.badlogicgames.com/


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>