Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rk2022 opened this issue Feb 12, 2018 · 1 comment
Labels

Comments

@rk2022
Copy link

rk2022 commented Feb 12, 2018

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.

Is there a way to solve this problem?

@JonDouglas
Copy link
Contributor

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:

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.

@ghost ghost locked as resolved and limited conversation to collaborators Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants