Styles from generic.xaml are not applied
问题 I made a class library assembly in which I created custom controls, and I defined the default styles in the generic.xaml file. It seems this is a quite common problem, as long as many people are posting about it. However I couldn't find any useful answer for my case. the generic.xaml is in the Themes folder. the generix.xaml file Build Action is set to Page. the ThemeInfo is properly defined in my AssemblyInfo.cs. In my test application, if I manually merge the generic.xaml file from my