First of all, thank you in advance.
I know that my scenario could be a little bit weird but I´m going to try to explain you..
I have an strange behaviour in my WPF applications. I´m developing two WPF applications, APP_A has it´s own logic and APP_B is just used to start other applications including APP_A. APP_A can run alone or can be opened by APP_B.
Structure:
- Solution_A->Project_A->Window_A->UserControl_A(name:"HeaderControl" in a namespace related to A project")
- Solution_B->Project_B->Window_B->UserControl_B(name:"HeaderControl" in a namespace related to B project")
- Project_B has Project_A as a reference and opens Window_A.
In this scenario if I run Project_A and Project_B independently, each one has the header defined on its own project. BUT if I start Project_B and from here I open Window_A, Window_A has as header UserCcontrol_B, defined in the other project !? If I change the name of the usercontrols for example to "HeaderControlA" and "HeaderControlB", each window is open with his own header, don't care in which way it has been open.
In my opinion, its something related with how WPF load the controls. Uses WPF just the name to load the control, no taking in consideration the namespace?
If someone has an idea...
Thanks you all again!