Package is not compatible with monoandroid81

SHUBHASSHUBHAS USMember ✭✭

Hello I have created a Xamarin form app using visual studio 2017 with android,ios and windows platforms on windows OS machine .I am trying to add CircleMenu package from Nuget , but getting package installation failure with error ."Package CircleMenu 1.0.0 is not compatible with monoandroid81 (MonoAndroid,Version=v8.1). Package CircleMenu 1.0.0 supports: net (.NETFramework,Version=v0.0)0 " .

However the same package installation is successful on Visual studio 2015 .
This is seen for few other packages as well .
Can someone have a look at this issue?

Thank you .

Answers

  • mattwardmattward GBMember Xamurai

    The CircleMenu 1.0.0 NuGet package has a single assembly in a lib folder. NuGet should allow this to be installed into any project since it does not explicitly indicate it is not supported. Ideally CircleMenu should have the assembly in a lib/monoandroid folder if it is for Android projects only.

    I am guessing that a more recent version of NuGet now treats assemblies that are in a lib folder as though they are in a lib/net folder.

    Visual Studio for Mac uses NuGet 4.3.1 and that allows the CircleMenu to be installed into an Android project.

Sign In or Register to comment.