Hi. I am only successful in adding RestSharp to Xamarin.iOS or Xamarin.Droid.
However, I would like to add the package to the non-platform specific folder.
I am getting this error
Could not install package 'RestSharp 105.2.3'. 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.
it seems like I cannot add it.
So if I can only add restsharp to each platform, how can I write the network code just once. For example make a network fetch class under non-platform specific folder which calls all the restsharp stuff. and then I can call from .iOS and .Droid side?
What about all the restsharp.portable packages that I see??