That's exactly the way plugins work on MonoDroid in Mvx too - seems to work
great. You just add the plugin as a reference and can then call
Assembly.Load at runtime.

Code in
https://github.com/slodge/MvvmCross/blob/vnext/Cirrious/Cirrious.MvvmCross/Plugins/MvxFileBasedPluginManager.cs

I think you may also need to be careful with the linker settings when using
Release mode.

Also, the same code won't work on Touch, on WP or on WinR - too many
sandbox and JIT issues

Stuart

On 18 January 2013 18:46, Jonathan Pryor <[email protected]> wrote:

> On Jan 15, 2013, at 11:02 PM, ggeorge <[email protected]> wrote:
> > These plug-in assemblies are local and will be kept in a folder like
> /bin/../Plugin and will be distributed with the app.
>
> How are they distributed with the app? If they're "normal" Assembly
> References within the application's project, they should be bundled with
> everything else and usable with Assembly.Load("Filename).
>
> Correction; it should be the filename, e.g. "MyLibrary.dll", not the
> basename.
>
> > Can you please share some code that works using mono for android?
>
> http://www.jprl.com/tmp/Scratch.AssemblyLoad.zip.
>
>  - Jon
>
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to