Could not install package 'XLabs.Forms.Charting 2.0.5781'. xamarin forms

srsivaprasadsrsivaprasad USMember ✭✭

Severity CodeDescription Project File Line Suppression State
Error Could not install package 'XLabs.Forms.Charting 2.0.5781'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111',
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. 0

This is the error comes when i try to add 'XLabs.Forms.Charting nuget in my xamarin form project anyone got solution for this ?

thanks in advance

Answers

  • mattwardmattward GBMember Xamurai
    edited June 2016

    Profile 111 is not supported by the XLabs.Forms.Charting 2.0.5781. Profile 111 targets:

    portable-net45+netcore45+wpa81
    

    XLabs.Forms.Charting has a portable class library (PCL) that targets:

    portable-net45-netcore45-wp8-MonoAndroid1-MonoTouch1
    

    The Mono frameworks are optional so can be ignored in this case. The problem is that the XLabs.Forms.Charting NuGet package does not indicate it supports wpa (Windows Phone for Applications). The profile it targets looks like Profile 78. So you would have to change your PCL project's profile to be compatible to be able to install it.

Sign In or Register to comment.