5
votes

When creating a new Blank Xamarin.Form Portable project in Visual Studio 2015, I get a "Package Installation Error"...

Could not add all the required pacakges to the project. The following packages failed to install from C:....Xamarin\4.0.3.214\Packages:

Xamarin.Form.2.0.0.6482: Could not install package Xamarin.Form.2.0.0.6482.

You are trying to install this package into a project that targets .NETFramework,Version=v4.0

enter image description here

1
I have the same exact issue!jbyrd
Did anyone ever find an answer for this? I see the same issue come up for lots of people (including myself) but no one seems to have a fix.Zyzle

1 Answers

1
votes

Looks like you might need to set the profile of the PCL correctly.

These are the options that I get when creating a new Xam.Forms app:

enter image description here

From this question They have set the profile like so:

I had a similar issue using Visual Studio and I've found that the following combination in the PCL works:

  • .NET Framework 4.5
  • Windows Phone Silverlight 8
  • Xamarin.Android
  • Xamarin.iOS