Install Restsharp in PCL projects Xamarin.Forms

Asked

Viewed 105 times

0

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

Unable to install 'Restsharp 106.3.0-alpha0002' package. You are trying to install this package in a project that is intended to '. Netportable,Version=v4.5,Profile=Profile259', but package not contains no reference to Assembly or content file that is compatible with this structure. For more information, please visit contact the package author.

1 answer

0

Try Changing PCL Profile. It may be that the Restsharp version is not compatible with PCL.

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.