【发布时间】:2018-08-01 11:22:39
【问题描述】:
我正在尝试使用 xamarin 表单的 xaml 本地化指南中解释的 TranslateExtension 方法。但是我遇到了一个错误。
Unhandled Exception:
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "CashRegisterApp.Resx.AppResources.resources" was correctly embedded or linked into assembly "CashRegisterApp.Android" at compile time, or that all the satellite assemblies required are loadable and fully signed. occurred
调试后我注意到资源文件的扩展名出于某种原因设置为 .resources。因为这不是资源管理器的公共成员,所以我不确定如何将其设置为使用 resx 或 resw 文件。
【问题讨论】:
标签: .net xaml xamarin xamarin.forms resourcemanager