i can make this work with unity by making a silverlight class library and then adding a reference to it on the shell. but if i try this with MEF :
InitializationMode = InitializationMode.WhenAvailable,
Ref = "DllModule",
ModuleName = "DllModuleImp",
ModuleType = "DllModule.DllModuleImp,DllModule , Version=22.214.171.124, Culture=neutral, PublicKeyToken=null"
I get this error:
Microsoft JScript runtime error: Unhandled Error in Silverlight Application Code: 4004
Message: Microsoft.Practices.Prism.Modularity.ModuleTypeLoadingException: Failed to load type for module Module1Impl.
If this error occurred when using MEF in a Silverlight application, please ensure that the CopyLocal property of the reference to the MefExtensions assembly is set to true in the main application/shell and false in all other assemblies.
I naturally done what the error suggested but it still fails