Creating a portable library
Most of us have often struggled and hacked our code to implement an assembly that we could use in different .NET target platforms. Portable libraries are here to help us to do exactly this.
Now there is an easy way to develop a portable assembly that works without modification in .NET Framework, Windows Store apps style, Silverlight, Windows Phone, and XBOX 360 applications.
The trick is that the Portable Class Library project supports a subset of assemblies from these platforms, providing us a Visual Studio template.
This recipe will show you how to implement a basic application and help you get familiar with Visual Studio 2012.
Getting ready
In order to use this recipe you should have Visual Studio 2012 installed. Note ...
Get Microsoft .NET Framework 4.5 Quickstart Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.