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.

iOS System.IO.FileNotFoundException: Could not load file or assembly 'FFImageLoading.Transformations' or one of its dependencies

See original GitHub issue

Very similar to issue #170 except I’m calling the init in AppDelegate.cs.

` [Register (“AppDelegate”)] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching (UIApplication app, NSDictionary options) { CachedImageRenderer.Init ();

        global::Xamarin.Forms.Forms.Init ();

        Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init ();

        LoadApplication (new App ());

        return base.FinishedLaunching (app, options);
    }
}`
screen shot 2016-06-13 at 12 52 36 pm

screen shot 2016-06-13 at 1 34 21 pm

I’ve tried to uninstall and re-install all FFImageLoading packages and dependencies (because I saw it suggested elsewhere) from the common project and iOS project but didn’t help.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
daniel-luberdacommented, Jun 16, 2016

@tomcrusader @snaderi

  • Do you have FFImageLoading.Transformations added to both shared and platform specific projects?
  • If yes, it’s Xamarin Linking problem, the assembly is cut out by the linker. To avoid that, you can add this just after CachedImageRenderer.Init(); in a platform specific project (important):
var ignore = new CircleTransformation();

@molinch We could add something like Transformations.Init(); for such cases.

0reactions
nicolabeghincommented, Sep 9, 2016

I solved by adding a reference to missing type before LoadApplication

// workaround for iOS compilation
// @url  https://github.com/UXDivers/Grial-UI-Kit-Support/issues/52#issuecomment-230461937
var workaround = typeof(CustomControls.ExtendedPicker);

as in https://github.com/UXDivers/Grial-UI-Kit-Support/issues/52

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS System.IO.FileNotFoundException: Could not load file ...
Im running iOS 9.3. ... IO.FileNotFoundException: Could not load file or assembly 'FFImageLoading.Forms' or one of its dependencies #170.
Read more >
System.IO.FileNotFoundException: Could not load file or ...
Could not load file or assembly 'X' or one of its dependencies ... Most likely it fails to load another dependency. you could...
Read more >
Could not load file or assembly 'Xamarin.Forms.Core, ...
Message: Test method UnitTestProject1.UnitTest1.TestMethod1 threw exception: System.IO.FileNotFoundException: Could not load file or assembly ' ...
Read more >
Could not load assembly 'Telerik.XamarinForms.SkiaSharp
Hi All, I have installed a licensed version of Telerik.XamarinFroms. ... IO.FileNotFoundException: Could not load assembly 'Telerik.
Read more >
System.IO.FileNotFoundException: 'Could not load file or ...
I have an application in .net core. the application was running fine, but the error started coming after I installed.
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