FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

[UWP] In release mode doesn't show up the images

Open mariolobar opened this issue 10 years ago • 4 comments

I tried to uncheck the option "Compile with .NET native tool chain" and I can see the images but with this configuration my app fails in WACK testing so I think that I can not submit to the store. Is there any solution for this problem?

mariolobar avatar Aug 29 '16 19:08 mariolobar

I solved it adding the assemblies of FFImageLoading with this lines:

List assembliesToInclude = new List(); assembliesToInclude.Add(typeof(CachedImage).GetTypeInfo().Assembly); assembliesToInclude.Add(typeof(CachedImageRenderer).GetTypeInfo().Assembly); Xamarin.Forms.Forms.Init(e, assembliesToInclude);

Thank you!!

mariolobar avatar Aug 30 '16 07:08 mariolobar

Thanks, I'll add that info to our Wiki page.

daniel-luberda avatar Sep 03 '16 13:09 daniel-luberda

https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API#windows-uwp---compile-with-net-native-tool-chain-note

daniel-luberda avatar Sep 03 '16 14:09 daniel-luberda

I've tried adding the typeof(FFImageLoading.Forms.WinUWP.ImageSourceBinding).GetTypeInfo().Assembly line but the problem remains. I've also checked the release output directory and I can see the proper FFImageLoading.Transformations dll targeting .NET Core.

balazs-adam avatar Feb 28 '17 20:02 balazs-adam