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.
2) I updated the Nuget to Xamarin.Forms 5.0, and realized this project was so old it was using packages.config instead of project references for tracking NuGet dependencies. I migrated that with the Visual Studio migration action.
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
Music: Algorithms by Chad Crouch licensed Creative Commons. freemusicarchi...
Негізгі бет Overcoming Common Upgrade Issues - Xamarin.Forms 3.0 to 5.0
Пікірлер: 14