A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Xamarin Forms 5 - UWP Upgrade Issues
Hello everyone,
Our team is in the process of migrating from Xamarin.Forms 4.4.0.991864 to the latest stable 5.0.0.2012.
Though the Android App runs without any problems with XF 5, that's not the case for the UWP App .
I followed the instructions for upgrading to XF 5 https://learn.microsoft.com/en-us/xamarin/xamarin-forms/troubleshooting/questions/forms5-migration that state that for the UWP, an upgrade to the target version 10.0.18362.0 is enough to make it work.
After doing that and installing Xamarin.Forms 5.0.0.2012 I encounter 2 major issues.
- Whenever I call DIsplayAlert() the UWP app hangs. The page becomes transparent and I cannot interact in any way. I made sure I called DisplayAlert() on the UI thread.
- When I try to navigate from our main page to another one, I encounter the exception 'Cannot find a Resource with the Name/Key SmallScrollThumbScale [Line: 16724 Position: 86]' that is type of Windows.UI.Xaml.UnhandledExceptionEventArgs and thrown by App.xaml of the UWP App.
My initial question is: Am I missing any mandatory steps for setting up Xamarin Forms 5 correctly on UWP? Are there any steps like upgrading a certain nugget package or migrating any code that I am missing? Any guidance would be really helpful.
Thank you.