首页 > 代码库 > 解决编译器出现 Resource not found; ResourceKey= 提示

解决编译器出现 Resource not found; ResourceKey= 提示

what causes error ==> System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey=‘TargetType=App1.Common.Resources.AppResources ID=App1FieldTitleStyleKey‘; ResourceKey.HashCode=‘789136787‘; ResourceKey.Type=‘System.Windows.ComponentRes

 

将DynamicResource 修改为StaticResource

解决编译器出现 Resource not found; ResourceKey= 提示