I am creating a number of WPF applications that all relate around one central WPF application and need to share the same styles and resources. In the first place I created a folder in my main project and added some XAML styles which all worked in displaying UI in the styles I wanted. Later, I created another application but wanted to share the same styles so I moved the styles into a third project, added that project to the main application and added the reference to the styles project. The problem is that the will not recognise my styles project. I prefixed the style with the project name and that did not work at all.
我现在要谈谈我可以进入资源开发商“路径”部分的xaml文档的整个相对途径以及该工程。 然而,如果我把该项目转移到另一个方面,那就会失败。 我恳请大家问,我为什么会这样做,有原因,例如简单地重新调整我的项目结构。 因此,通过参考而不是档案处理资源比较容易。
我知道答案是暗淡的,但我无法找到另一个项目的风格。
迄今为止,我从这个网站获得了很大的反馈,将非常感谢任何帮助。