Hello,
I am running into issues with registering a StaticResource where the ViewModelLocator class is located in a ChildApplication that is dynamically loaded by a HostApplication.
HostApplication ClientApplication1 ClientApplication2 ... ClientApplicationN
Each ClientApplication has a reference to HostApplication, but not the other way around (circular reference).
I created the ViewModelLocator class in ClientApplication1 (and will do the same for ClientApplication2...N), but when I try to add the Resource to App.Xaml, it throws an Exception because HostApplication can't find the class that's located in ClientApplication1.
I also tried to dynamically load the StaticResource by adding to the Merged Dictionaries collection at runtime, but the same exception is thrown.
Does anyone have an idea of how I can get the Locator registered?
Thanks, Matt