I need to add simple cryptography to my Xamarin.Forms app, but it looks like System.Security.Cryptography isn't installed in the project. So, I tried to install System.Security.Cryptography.Algorithms to all the projects in the solution (using NuGet) and I get this error:
Could not install package 'System.Security.Cryptography.Algorithms 4.2.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', but the package does not contain any assembly references or content files that are compatible with that framework.
However, this only seems to apply to the Portable project. The package installs successfully for the platform-specific projects, MyApp.Droid, .iOS, and .UWP. What's going on?
This question seemed to pose a similar issue
but I'm unclear on whether mattward's response is supposed to imply a solution. Same thing happens with a fresh Xamarin.Forms solution.
I'm using VS15, NuGet 22.214.171.1241, on a Win10, x64 machine.