question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No image is dispaly in UWP in Release mode:

<ffimageloading:CachedImage x:Name="previewImage" DownsampleToViewSize="true" LoadingPlaceholder="loading.svg" ErrorPlaceholder="loading.svg" 
                                        HorizontalOptions="CenterAndExpand" Source="{ Binding GalleryManager.Preview.ProfileImageUrl }" 
                                        Transformations="{ Binding GalleryManager.Preview.Rotation, Converter={x:Static local:RotateToTransformationConverter.Instance}}"
                                        Aspect="AspectFit" Grid.Row="0" />     

when I remove this line:

Transformations="{ Binding GalleryManager.Preview.Rotation, Converter={x:Static local:RotateToTransformationConverter.Instance}}"

it is working fine. It is working fine also in Debug mode with this line. I my App.xaml.cs I have:

var assembliesToInclude = new List<Assembly>()
                {
                    typeof(CachedImage).GetTypeInfo().Assembly,
                    typeof(CachedImageRenderer).GetTypeInfo().Assembly,
                    typeof(FFImageLoading.Transformations.RotateTransformation).GetTypeInfo().Assembly
                };

                Xamarin.Forms.Forms.Init(e, assembliesToInclude);

What else I need to do to make it work? Version 2.2.20

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Aquastormcommented, Oct 20, 2017

@daniel-luberda Thanks Daniel 😃 I can also confirm that everything works like a charm with the 2.2.2.1-pre-576 release. We are so happy that we can make a new release for Windows. Thank you Daniel for the fix!

1reaction
DVDPTcommented, Oct 19, 2017

Also confirm that everything works fine, just in time for the release XD. Big thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to debug an UWP app in Release mode + ".Net Native ...
So to debug a UWP app in "Release" mode, we can create a custom configuration and enable the .NET Native toolchain for that...
Read more >
[UWP] Exception on start with Release mode
My UWP Xamarin Forms app crashes on startup ("Release-Mode") with the message: Unhandled exception at 0x7650A6E2 (KernelBase.dll) in ...
Read more >
[Bug] UWP application cannot run in release mode after ...
Description After updating from XF 4.8 Service Release 4 to Service Release 5, UWP applications cannot run in the release mode any more....
Read more >
Building UWP in Release gets stuck. Build process never ...
I have a UWP application that builds perfectly in Debug, but when I try to build ... Clone the master branch and a...
Read more >
How to make SfDiagram to work in UWP in release mode ...
This article describes how to make Syncfusion Xamarin.Forms SfDiagram to work in UWP in release mode when .Net Native tool chain is enabled?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found