question

sheejavarghese-8238 avatar image
0 Votes"
sheejavarghese-8238 asked JessieZhang-2116 commented

Not able to reference Xamarin.Android to class library project with .net 5

Hi,

I am receiving following error while adding reference to Class Library Project from android project a and ios project.



Severity Code Description Project File Line Suppression State

Error Project '..\DeliveriesApp\DeliveriesApp.csproj' targets 'net5.0'. It cannot be referenced by a project that targets 'MonoAndroid,Version=v11.0'. DeliveriesApp.Droid



Created the the DeliveriesApp in .net 5 framework. I also tried to create it with 3.1. How can I solve this issue?



Can you please help? I am not able to continue.

Thanks

dotnet-csharpdotnet-xamarindotnet-entity-framework-core
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sheejavarghese-8238 , you can try to create your app based on .NET Standard 2.0 instead of .net 5 framework.

0 Votes 0 ·

0 Answers