Failed to get the module type. Error

I use a prism as an example; This is my first game with WPF. I wrote two modules; orderModule and orderDetailModule. I was able to run my application and fill it on one screen, now I am trying to download only one module and load it with the click of a button. I loaded my modules into the code before, then I noticed that the prism uses xml, so I am trying to do this too. For some reason, he cannot find them, the total error I get is:

Microsoft.Practices.Composite.Modularity.ModuleInitializeException was unhandled Message = "Cannot retrieve the module type NetworkOrderManagement.WPF_Modules.Order, OrderModule from loaded assemblies. You may need to specify a more complete type name."

This is the modules section in my app.config:

<modules>
<module assemblyFile="WPFOrderModule.dll" 
        moduleType="NetworkOrderManagement.WPF_Modules.Order, OrderModule" 
        moduleName="OrderModule"/>
<module assemblyFile="WPFOrderDetailModule.dll" 
        moduleType="NetworkOrderManagement.WPF_Modules.OrderDetail, OrderDetailModule" 
        moduleName="OrderDetailModule" 
        startupLoaded="false"/>

. XML- . :

assemblyFile. . .

moduleType. , IModule. .

MODULENAME. . .

startupLoaded. , . ( ), . , ; . .

My OrderModule, IModule, NetworkOrderManagement.WPF_Modules.Order.

?

+5
1

, , . . : " .Namespace.TypeName, AssemblyName". . , , , Version, Language ..

+6

All Articles