Sharing a Portable Class Library for Win8 and WP8 Projects.

Feb 14, 2013 at 2:26 PM
We are creating a solution that contains both Win8 and WP8 projects, which share a common Portable Class Library that wraps the data service that feeds the applications. When I tried to use NuGet to install the package MvvmLightLibs to the PCL project, I get the following error message:

install-package : Could not install package 'MvvmLightLibs'. You are trying to install this package into a project
that targets 'portable-win+net45+wp80', but the package does not contain any assembly references or content files that are
compatible with that framework. For more information, contact the package author.

Am I going about this the right way? How can I use MVVM Light in my PCL so that I can share that library with my Win8 and WP8 projects at the same time? I did install NuGet 2.2 before running this. Thanks in advance for your help.
Feb 14, 2013 at 3:03 PM
Turns out I was installing the wrong NuGet package. The correct command for the portable version of the MVVM Light libs is

install-package portable.mvvmlightlibs -prerelease