Replies: 1 comment 1 reply
-
Hi @Pipozor ! Yes, it needs to be added to the library. Will be changed in the upcoming 1.4.0.0 version. (See #37) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
In my project, during build a warning appears, sample :
D:\Projects\LiDi\LiDi-lidi_dotnet9\LiDi.MobileApp\Pages\RankingsUsersPage.xaml(20,25): XamlC warning XC0103: Consider attributing the markup extension "LocalizationResourceManager.Maui.TranslateExtension" with [RequireService] or [AcceptEmptyServiceProvider] if it doesn't require any.
I tried to add :
[RequireService([typeof(ILocalizationResourceManager)])]
to C# code behind XAML but I still have the warning.
I'm wondering if this has to be added to your Markup extension code. What do you think ?
Like here : https://learn.microsoft.com/en-us/dotnet/maui/xaml/markup-extensions/create?view=net-maui-9.0
Beta Was this translation helpful? Give feedback.
All reactions