Cannot install on PCL side

Emixam23Emixam23 USMember ✭✭✭

I have to finish a project as soon as possible in Xamarin (Android, iOS, UWP). Stripe is my last thing to integrate, however, I can't find the way to install it in the PCL part. I could install it for Xamarin.Android & Xamarin.iOS.

The error thrown from the PCL part at the NuGet installation is the following:

Attempting to gather dependency information for package '' with respect to project 'PROJECT', targeting '.NETPortable,Version=v4.5,Profile=Profile111'
  OK 289ms
  OK 531ms
Total number of results gathered : 20
Gathering dependency information took 826.02 ms
Summary of time taken to gather dependencies per source : -   825.53 ms
Attempting to resolve dependencies for package '' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package ''
Resolved actions to install package ''
Found package ' 10.4.0' in '/xxx/PROJECT/packages'.
For adding package '' to project 'PROJECT' that targets 'portable45-net45+win8+wpa81'.
Install failed.Rolling back...
Package '' does not exist in project 'PROJECT'
Executing nuget actions took 46.19 ms
Could not install package ' 10.4.0'. 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.

I tried to change the profile to 259 without success... There is my packages :

<?xml version="1.0" encoding="utf-8"?>
  <package id="Microsoft.Bcl" version="1.1.10" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Microsoft.Net.Http" version="2.2.29" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Newtonsoft.Json" version="10.0.3" targetFramework="portable45-net45+win8+wpa81" />
  <package id="PCLCrypto" version="2.0.147" targetFramework="portable45-net45+win8+wpa81" />
  <package id="PCLStorage" version="1.0.2" targetFramework="portable45-net45+win8+wpa81" />
  <package id="PInvoke.BCrypt" version="0.5.97" targetFramework="portable45-net45+win8+wpa81" />
  <package id="PInvoke.Kernel32" version="0.5.97" targetFramework="portable45-net45+win8+wpa81" />
  <package id="PInvoke.NCrypt" version="0.5.97" targetFramework="portable45-net45+win8+wpa81" />
  <package id="PInvoke.Windows.Core" version="0.5.97" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Plugin.Permissions" version="2.0.1" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Validation" version="2.4.15" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Xam.Plugin.Connectivity" version="3.0.2" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Xam.Plugin.Geolocator" version="4.0.1" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Xam.Plugin.Media" version="3.0.1" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Xam.Plugin.PushNotification" version="1.2.4" targetFramework="portable45-net45+win8+wpa81" developmentDependency="true" />
  <package id="Xamarin.Auth" version="" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Xamarin.Forms" version="" targetFramework="portable45-net45+win8+wpa81" />
  <package id="Xamarin.Forms.Maps" version="" targetFramework="portable45-net45+win8+wpa81" />

>> View on GitHub my post <<

Thank for any help !

Sign In or Register to comment.