BT

(Really) Portable Class Libraries

by Jeff Martin on Oct 16, 2013 |

The promise of Portable Class Libraries for the .NET Framework has been limited up until this point due to its bias towards Microsoft-based stack.  This bias was expressed in the form of a software license agreement that legally restricted PCLs exclusively to various Microsoft platforms including Windows Phone, Xbox 360, and Windows desktop.  Previously if you were a developer seeking to build a multiplatform application that would work on non-Microsoft platforms via Mono as well as a Windows-based one, the license prevented this.  This artificial restriction limited adoption of PCLs, but a new announcement from Microsoft eliminates this often frustrating legal restrictions, providing a new reason for developers to consider using this technology.

As Microsoft Program Manager Rich Lander states, now Portable Library Reference Assemblies can be used on any platform.  Xamarin’s Miguel de Icaza commented that this release is “great news” and that it will enable developers “that want to create binary assemblies on platforms that do not have Visual Studio installed (Mac, Linux or even Windows without VS installed)”. 

This release is a great step forward, but work does remain as some other Microsoft PCLs remain restricted.  A popular UserVoice request remains outstanding, and as a result this means Microsoft produced libraries (including Immutable Collections) remain restricted.  That said, this is a move in the right direction towards openness and increasing developer support.

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Still VS Express not supported by Hernán J. González

Still to produce PCL assemblies one must purchase VisualStudio professional (not possible with Express), right?

Great news! by Faisal Waris

Recently I used the protobuf-net 'core' portable library and generated portable serialization libraries on both WP8 and Android (via Xamarin and Mono).

Same binary libraries work fine on both platforms.

(BTW protobuf-net is very well done. It is my first time using it)

Re: Still VS Express not supported by Jeff Martin

No purchase is necessary. This release allows you to use a compiler and platform of your choosing.

This licensing freedom does not extend to all PCLs released by Microsoft, but it will allow you to create your own or recompile those made by others.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

3 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT