Installing RestSharp on PCamar Projects Xamarin.Forms

0

How do I install RestSharp in a PCL project (Xamarin.Forms). You are giving this error while installing:

  

The 'RestSharp 106.3.0-alpha0002' package could not be installed.   You are trying to install this package on a project that is intended to   '.NETPortable, Version = v4.5, Profile = Profile259', but the package does not   contains no assembly or content file reference that is   compatible with this structure. For more information,   contact the package author.

    
asked by anonymous 14.01.2018 / 01:07

1 answer

0

Try changing the PCL Profile. It may be that the version of RestSharp is not compatible with PCL.

I suggest using the alternatives: Http Client or Refit . Usually they are my options for REST.

    
17.01.2018 / 12:08