Nov 3, 2009 at 3:49 PM
Edited Nov 3, 2009 at 3:52 PM
Has anyone had any luck populating the module catalog without adding a direct references in the shell?
This is what I have:
var loginModuleInfo = new ModuleInfo()
Ref = "file://ModuleA.dll",
InitializationMode = InitializationMode.WhenAvailable,
ModuleName = "ModuleA",
ModuleType = "CompositeApp.Modules.ModuleA.ModuleA, CompositeApp.Modules.ModuleA, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null"
ModuleCatalog catalog = new ModuleCatalog();
If I add the ModuleA reference to the shell project this works fine. But when I remove the reference I get the following error:
Failed to load type for module ModuleA. Error was: An exception occurred during a WebClient request
I thought the shell and modules were able to operate without knowledge of eachother. So I guess my question is: Do I have to add the ModuleA.dll reference to the shell for this concept to work?