Unable to retrieve the module type

Topics: Prism v2 - Silverlight 3
Aug 11, 2009 at 4:07 PM

Hi *,

I'm using CompositeWPF with Silverlight. I configured most of the things but I get an exception "Unable to retrieve the module type MyNamespace.MyType, MyAssembly" during runtime. I checked my catalog.xaml and all types and their container assemblies exist in the corresponding .xap files.

Do you have any ideas?

Aug 11, 2009 at 5:01 PM

I think the minimum you need is the {Namespace}.{TypeName}, {AssemblyName}, Version={VersionNumber} where version number is unless changed.

Aug 11, 2009 at 7:19 PM

Thanks, I thought I tried that but its seems that I haven't. That was it.

Why do I need version though? This is optional when you are resolving a type using Type.GetType(). Is this a requirement of Composite WPF or Silverlight?