BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News (Really) Portable Class Libraries

(Really) Portable Class Libraries

Lire ce contenu en français

Bookmarks

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.

Rate this Article

Adoption
Style

Hello stranger!

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

Get the most out of the InfoQ experience.

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

Community comments

  • Still VS Express not supported

    by Hernán J. González,

    Your message is awaiting moderation. Thank you for participating in the discussion.

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

  • Great news!

    by Faisal Waris,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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

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

BT