Getting error while loading from Modulecatalog xaml file.

Topics: Prism v4 - Silverlight 4
Sep 29, 2012 at 2:26 AM

Hi friends out there.

I am getting error while loading module form module catalog.This is my module catalog.

<Modularity:ModuleCatalog xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:sys="clr-namespace:System;assembly=mscorlib"
               xmlns:Modularity="clr-namespace:Microsoft.Practices.Prism.Modularity;assembly=Microsoft.Practices.Prism">
    <Modularity:ModuleInfo Ref="Authentication.xap" ModuleName="Authentication" ModuleType="Authentication.AuthenticationModule,PublicKeyToken=null,Culture=neutral" InitializationMode="WhenAvailable" ></Modularity:ModuleInfo>
    <Modularity:ModuleInfo Ref="ModuleA.xap" ModuleName="FamilyTree" ModuleType="ModuleA.ModuleA,PublicKeyToken=null,Culture=neutral" InitializationMode="WhenAvailable"></Modularity:ModuleInfo>
    <Modularity:ModuleInfo Ref="Homescreen.xap" ModuleName="Homescreen" ModuleType="Homescreen.HomscreenModule,PublicKeyToken=null,Culture=neutral" InitializationMode="WhenAvailable"></Modularity:ModuleInfo>
    <Modularity:ModuleInfo Ref="DockMenu.xap" ModuleName="DockMenu" ModuleType="DockMenu.DockMenuModule,PublicKeyToken=null,Culture=neutral" InitializationMode="WhenAvailable"></Modularity:ModuleInfo>
</Modularity:ModuleCatalog>
 

When i tun application of run method of UnityBootstrapper drived class it gives error tgar
IModule can not be empty ...

So please tell me what i have done wrong in this module catalog .

 

Thanks in advance.

 

Thanks in advance

Sep 29, 2012 at 9:13 AM

Hi

I have figure out and solved the problem.There is erorr in module catalog defining in it. specially in ModuleType.

 

Thanks