Hi,
I'm not sure if this is possible, but I am currently loading most of my modules from within the main application assembly, I am trying to now load external XAP modules.
I have something like this:
ModuleInfo themeModule = new ModuleInfo();
themeModule.ModuleName = "Theme_External";
themeModule.ModuleType = "Theme_External.Theme_External_Module, Theme_External, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null";
themeModule.Ref = "file://Theme_External.xap";
themeModule.InitializationMode = InitializationMode.OnDemand;
catalog.AddModule(themeModule);
I then realised that you cannot use that ref as it uses local file access which is not available in Silverlight. The only reason this was working for me is I had a direct reference to the theme project which I needed to remove. I'd like to either point it at say http://localhost/Theme%5FExternal.xap or a remote web address later down the line.
Is this something I can do with the current PRISM set up?
Thanks for your time