Deployment of Modules

Aug 22, 2008 at 9:13 AM

I have a problem with the deployment strategy of our application.

So there is the shell application which loads the modules dynamically at startup. I'd like to seperate all the modules from one another and from the shell application. I want to put each module into its own subfolder within a "Modules" subfolder. Via the configuration store I can tell the shell app where it can find the modules. So far everything works ok.

When a module gets loaded the runtime loads the module's dependent assemblies and looks for them within the application root folder (where the Shell.exe resides). But I want the dependent assemblies to be in the modules' subfolder and be loaded from there.

I hope my explanation made sense. Can anyone help me on this one?

Aug 22, 2008 at 12:56 PM
I guess you are talking about the static dependencies here.

If that is the case it should work either from the location where your .exe is located or from the location where your module.dll is located.

I have a similar scenario and it works perfectly for me.