You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Could not install package 'Xamarin.Android.Support.v4 23.3.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. #1293
I have created a .net standard project and I am trying to add xamarin.android.support.xxx packages to my project and i keep gettin this error message:
Could not install package 'Xamarin.Android.Support.v4 23.3.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.
You cannot add Xamarin.Android.Support NuGet packages to a .Net Standard Library or PCL project as they do not contain NuGet target frameworks for this package. This NuGet is only meant to be installed into a MonoAndroid defined project such as a Xamarin.Android project. Here is an example of a similar question on Stack Overflow:
Activity
JonDouglas commentedon Feb 12, 2018
You cannot add
Xamarin.Android.SupportNuGet packages to a .Net Standard Library or PCL project as they do not contain NuGet target frameworks for this package. This NuGet is only meant to be installed into aMonoAndroiddefined project such as aXamarin.Androidproject. Here is an example of a similar question on Stack Overflow:https://stackoverflow.com/questions/42810045/xamarin-firebase-messaging-could-not-install-package/42815634#42815634
For future reference, you may want to check out our wiki on reporting issues.