Overcoming Common Upgrade Issues - Xamarin.Forms 3.0 to 5.0

preview_player
Показать описание
I tackled updating an older sample written for Xamarin.Forms 3.0 and recorded the process. Here are the highlights in under 2 minutes.

1) I removed direct references to Android Support Libraries since they weren't necessary for my app. Xamarin.Forms NuGet will bring in Android dependencies as needed.

When updating a bunch of NuGet and references, I prefer to quickly edit the csproj by unloading the project rather than using the NuGet package manager. It's just more efficient.

3) Once all projects are updated to 5.0, I run build loops starting with the library project and then the platform projects. The issues I resolved are:

* MasterDetailPage is renamed to FlyoutPage
* Updated the Android ABIs in the Build Options
* Fixed the minimum Android version because it was too old
* Fixed the solution configuration to make sure Android deployed

Рекомендации по теме
Комментарии
Автор

thank you for all what you did and do for us to make it easy .. thank you very much

DigitalElectronicSchool
Автор

Hi David,
Could you guide me to what I should study or learning first for mobile gaming?
Thanks

Tamer_Ali
Автор

Did you run into any iOS issues? I fixed my android errors much like you video but for some reason all my references in the ios project are broken although nugget says they are there and there are in the project file. I did upgrade on windows so I'll try on the Mac to see if it's just some weird windows thing.

mallen
Автор

what is the minimum android supported when I using xamarin 5

DigitalElectronicSchool
Автор

Hello David!
Do you have have solution for xamarin forms custom app icon and storyboard (iOS). I always have default xamarin icons...
All last nuget versions.
I am use physical iOS device via hot xaml in windows 10

alekssam
Автор

1:23 you would want to keep ARM64 still?

BurkusCat