Search code examples
xamarin.androidxamarinmvvmcrossportable-class-library

Can't install MVVMCross on PCL project


After I create a PCL project in VS2012 with the following configuration:

PCL configuration

I try to add MVVMCross through Nuget installation, but the process rolls-back with this error:

enter image description here

I'm trying to install Hot Tuna Starter Pack for that matter. I have installed Xamarin trial version a week ago.

Is this a Xamarin error supporting PCLs?


Solution

  • Your screenshots show that you have a VSMonoTouch PCL hack in place - it's likely that will be causing issues - especially with net10 shown in the nuget log there. Try removing your VSMonoTouch XML files and then creating new projects for test.

    Here is a setup that currently works for me - http://slodge.blogspot.ca/2013/04/my-current-pcl-setup-in-visual-studio.html

    Note: It's likely that this post won't remain in-date for very long - Xamarin are releasing their PCL implementations at the moment.