ColorPicker icon indicating copy to clipboard operation
ColorPicker copied to clipboard

UWP Crash issue after updating to Xamarin Forms 5

Open kumaresan-cgvak opened this issue 4 years ago • 0 comments

Describe the bug UWP app started to crash after updating the Xamarin Forms app to the latest Xamarin Forms version.

Upon Further analysis on the issue, it is identified that when ColorPicker NuGet Package is installed, it adds SkiaSharp (1.60.3) as a dependency, and the app works without any issue

Screenshot 2021-02-09 at 12 26 08 AM

SkiaSharp version gets updated, When adding/installing another NuGet package that contains a reference to higher SkiaSharp version.

Screenshot 2021-02-09 at 12 27 48 AM

As a result app crash, when the SkiSharp version gets updated to 2.80.2 from 1.60.3.

Expected behavior App Should work without crashing.

To Reproduce Steps to reproduce the behavior:

  1. Download Color Picker Sample from https://github.com/vpapenko/ColorPicker.Nuget.Test
  2. Install any one NuGet package, which has a higher version of SkiaSharp depedency. example: Syncfusion.Xamarin.DocIORenderer
  3. Run the app

Screenshots Screenshot 2021-02-09 at 12 37 18 AM

Desktop:

  • OS: Windows 10
  • Version:
  • Edition: Windows 10 Pro
  • Version: 20H2
  • OS build: 19042.746
  • Experience: Windows Feature Experience Pack 120.2212.551.0

Additional context Please find the attached sample code with the crash issue. ColorPicker.Nuget.Test-master (2).zip

kumaresan-cgvak avatar Feb 08 '21 19:02 kumaresan-cgvak