I have a pretty simple question. I have 2 xaps that I download dynamically a.xap and b.xap. When I download a.xap it has an <ImportMany("MainNavigation", AllowRecomposition:=True)>, and b.xap has the following:
Public Nav1 As New TestNavigationItem
Since both our downloaded at run time how do I get the current package catalog to? I know it works if I have a reference to that catalog like this:
Dim container As New CompositionContainer(catalog)
But since b.xap doesn't have a reference to the main silverlight application, how do I tell it to get the current packagecatalog that it is a part of?
Does that make any sense?