Let's say I have the following Silverlight Applications:
- App1.xap
- App2.xap
- App3.xap
Let's say that I start App1.xap as the default xap file. If I load App2.xap and App3.xap and instantiate an Application class within one of the other two XAPs. The Application.Current changes to be that new instance.
System.Windows.Application obj = Activator.CreateInstance(type) as System.Windows.Application;
I don't want the current application to change. I just want to get the merged Resource Dictionaries off the Application class.