我有一个主工程(
有没有最佳的方法来解决这个问题?
ProjectA
),其中包含一个基类(xaml + code-behind)。
此外,我还有另一个工程(ProjectB
),与ProjectA
相关联。在最后一个工程中,我继承了ProjectA
中创建的一些用户控件。
当启动主应用程序时,我收到以下错误:The component 'XXX' does not have a resource identified by the URI
'/My.Assembly;component/.../simplegridview.xaml'
有没有最佳的方法来解决这个问题?
this.GetType().Assembly.FullName
替换"My.Assembly"(该方法从继承类型中获取程序集)。 - Jeroen