vpapenko / ColorPicker

Color pickers for Xamarin Forms.
MIT License
43 stars 11 forks source link

UWP app Unable to Generate release build for x64& ARM #43

Closed kumaresan-cgvak closed 4 years ago

kumaresan-cgvak commented 4 years ago

Describe the bug Unable to generate the release build, when we try to build for Processor architecture x64 & ARM

To Reproduce Steps to reproduce the behavior:

  1. Create a new Xamarin Forms project that supports UWP.
  2. Add Color Picker Plugin
  3. Try to generate the release build with Processor architecture x64 / ARM

Expected behavior The app should generate UWP release build for x86, x64 & ARM without any issue.

Screenshots

Screenshot 2020-09-15 at 8 16 11 PM

Desktop (please complete the following information):

kumaresan-cgvak commented 4 years ago

@vpapenko Kindly check this issue and provide your valuable support ASAP.

vpapenko commented 4 years ago

New version is available on NuGet.org It can be built on x86, x64 & ARM and tested on x86, x64. If you can run and test on ARM device, please confirm that this version is ok.

kumaresan-cgvak commented 4 years ago

@vpapenko Thanks for the quick support. Now am able to generate UWP release build for all processor types.(x86, x64 & ARM) Will update you after checking it in the ARM device

kumaresan-cgvak commented 4 years ago

@vpapenko In the UWP release build, the Color picker is not working. i.e User Interaction on ShowLuminosityWheel & Color Wheel is not working.

Tried to run the UWP Test App present in Repo with release mode and encountered the same issue.

vpapenko commented 4 years ago

@kumaresan-cgvak I found a workaround for this problem. Use the new v1.3.4.11 version and follow instructions in readme.md: Replace

Xamarin.Forms.Forms.Init(e);

in OnLaunched of App.xaml.cs by

var rendererAssemblies = ColorPicker.UWP.ColorPickerEffects.GetRendererAssemblies();
Xamarin.Forms.Forms.Init(e, rendererAssemblies);