Skip to content

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

Description

@rk2022

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?

Activity

  1. JonDouglas commented on Feb 12, 2018

    @JonDouglas
    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.

  2. ghost locked as resolved and limited conversation to collaborators on Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions