Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Modules or plugin arquitecture dependencies

$
0
0

Hello,

I'm building a plugins/modular application using System.ComponentModel.Composition;

MyApp -> Load Modules
Module1 -> DoWork
Module2 -> DoWork
Module... -> DoWork

I don't want reference dependencies on modules. I wan't provide a list of 3rd party dependencies on MainApp that is shared by Modules, but to use them on modules, they must be loaded on each module too. Will not be a problem since MainApp already loaded that dependencies and modules will share them.

The problem will be when a dependency is recompiled, on MainApp is OK, but modules using a old compiled version will trigger exceptions saying the dependency version is not the same (I think).

One solution is include all dependencies sourcecode in MainApp, that way modules don't need include a dependency, the problem is some aren't opensource, others are huge and contains multi projects...

For example include WebKit on MainApp, and all modules can access WebKit without reference is own dll on each module.

There are any good solution for that trouble?

Thanks


sn4k3


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>