Cannot instantiate UserControl from another assembly - Resource cannot be found
问题 I have a solution with two WPF projects: Primary and Secondary. In the Primary project, a Window named PrimaryView instantiates an UserControl called SecondaryControl, defined in Secondary project. SecondaryControl uses SecondaryStyle, which is defined in SecondaryResourceDictionary (as you might have guessed already, defined in SecondaryProject). The fact is: when I try to run the solution, I get a XamlParseError , and digging InnerExceptions I eventually find the culprit, the