Unable to build Xamarin UWP app in release mode using FFImageLoading

KiranGKiranG INUniversity ✭✭

I'm receiving OutOfMemoryException when building the Xamarin UWP app in release mode with .NET Native Tool Chain as selected. Log stating that FFImageLoading is the causing the issue.

I've written the specific code FFImageLoading for UWP as follows but issue is not resolved.

            var ffImageAssemblies = new List<Assembly>()
            {
                typeof(CachedImage).GetTypeInfo().Assembly,
                typeof(CachedImageRenderer).GetTypeInfo().Assembly
            };
            Xamarin.Forms.Forms.Init(e, ffImageAssemblies);

Here my intention is to load all following assemblies explicitly before initializing the Xamarin Forms.

FFImageLoading.dll
FFImageLoading.Platform.dll

Please provide some help on this.

Thanks.
Kiran.

Answers

Sign In or Register to comment.