1
votes

I have the same error message as this question, causing my Xamarin Forms project to not deploy. This is because each platform target of my project (iOS, Android and the Shared Platform) is running different versions of Xamarin forms.

The answer in the linked question was:

Solution:

Change in your Core, Droid and IOS project the Xamarin.Forms versions. Make sure that all versions are the same.

How do I change my Xamarin.Forms versions for each of my target platforms? Here is what my navigation menu looks like:

enter image description here

1
Update all your Xamarin.Forms nuget packages to the same version in all of your projects - Nick Peppers
How exactly do I do that? - Barney Chambers

1 Answers

0
votes

Open your solution in VS expand the packages folder and right click your Xamarin.Forms package. Each .csproj in your .sln should be on the same version if not update update it to the version to match that or just update all of them to the latest XF.

enter image description here

It will look a bit different if you're on windows, which has the nice package manager, so in that case you can right click on your open solution and go to manage nuget packages for solution.

enter image description here