我遇到dotfuscor的问题。 我正在使用本地化的应用程序,我绑定数据,如:
Text="{Binding Path=Localizedresources.Foo, Source={StaticResource LocalizedStrings}}"
或
Header="{Binding Localizedresources.Today, Mode=OneWay}" DataContext="{StaticResource LocalizedStrings}"
问题是,dotfuscator不喜欢这个,我得到的信息例如:
XamlAnalysis flagged something in Resource Main.g.resources\mainpage.xaml at (111, 55) for the following reasons: Binding expression {Binding Localizedresources.Today, Mode=OneWay} :Could not resolve, may have to manually exclude.
但我不知道如何修复它甚至如何排除它,因为我不知道错误就像“字符串加密”一样。
如何解决这个问题?