Nov 3, 2009 at 4:49 PM
Edited Nov 3, 2009 at 4: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=126.96.36.199, 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?