Load an assembly at runtime

JonKASJonKAS DEMember

Hello guys,

i got a little problem with my Xamarin.Forms Application.
I'll try to implement an on the fly updater, wich downloads some DLLs from a Webservice an loads it.
It works fine with the Shared piece of code., but when it comes to a dll wich contains Android specific stuff then it does not work perfectly.

For example: I have to register Dependency manually in a method wich I call when the DLL get loaded.
Sadly it doesnt work with CostumRenderer. Xamarin just dont recognize that I want to register an Costumrenderer... Do anyone have an idea how to fix this Problem or does someone got a smart workaround?

Answers

  • LuizLoyolaLuizLoyola BRMember

    I guess the System.Reflecion.Assembly.Load may be helpful, but I don't know how to use it and need some help for using too.
    I've heard this Assembly.Load is possible in Android but not in iOS, but need confirmation.

    Anyone?

Sign In or Register to comment.