Visual Studio Toolbox:Portable Class Libraries

Play Visual Studio Toolbox:Portable Class Libraries


Portable class libraries enable you to write and build managed assemblies that work on more than one .NET Framework platform. You can create classes that contain code you wish to share across many projects, such as shared business logic, and then reference those classes from different types of projects, including those that target .NET Framework 4 and above, Silverlight 4 and above, Windows Phone 7 and above, Windows 8, and XBox 360. In this episode, Daniel Plaisted introduces us to this very exciting technology.

Want more information on portable class libraries? Check out these resources:



Right click to download this episode

The Discussion

  • User profile image

    Will the code projects be available for download? Or if it is a link above, which one?

  • User profile image

    The "OnYourWayHome" demo is from David Kean's Create a Continuous Client Using Portable Class Libraries MSDN article.  Click on "Download the Code Sample", then on the downloads tab and you will be able to get the source (in both C# and VB).  That source code is based on the Beta of VS 2012 and Windows 8 Consumer Preview.  If you want to build and run the Metro style app on VS 2012 RC and Windows 8 Release Preview, you will have to make a few updates to that app.  (The phone version should work as is.)

    The TwitterSearch demo is from the MvvmCross project.  Currently, the portable library support is in the vNext branch, so that's where I took it from.  I had to make a few changes to get the Metro style app to work on VS 2012 RC.

    I've just uploaded source to the Gordian's Knot Puzzle Solver to github.

    My handle on twitter is @dsplaisted if you'd like to ask questions there or follow me.

  • User profile image
    Agnaldo Juarez

    Congratulations on the product, I'm using the demo version with 8 windows and doing tests with parallel programing and I'm loving it.

      Many resources for the use of multicore been incorporated into the interfacing, I am now inciando tests with and javascript 4 more until this moment I am very satisfied with the product.

  • User profile image

    Love the XNA Sample.. Cool

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.