O'Reilly logo

Xamarin 4.x Cross-Platform Application Development - Third Edition by Jonathan Peppers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with portable class libraries

A portable class library (PCL) is a C# library project that is able to be supported on multiple platforms including iOS, Android, Windows, Windows Store apps, Windows phone, Silverlight, and Xbox 360. PCLs have been an effort by Microsoft to simplify development across different versions of the .NET framework. Xamarin has also added support on iOS and Android for PCLs. Many popular cross-platform frameworks and open source libraries are starting to develop PCL versions such as Json.NET and MVVMCross.

To set up a shared project, perform the following steps:

  1. Open Xamarin Studio and start a new solution.
  2. Select a new Single View App under the Multiplatform | App section. Or in Visual Studio, Cross-platform | Blank ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required