MAUI -Error in log4net about font

Dani_S 4,091 Reputation points
2024-01-10T09:46:42.1933333+00:00

Hi,

  1. log4net.config located in resources/row.
  2. The target path is c drive.
  3. The problem error about register font please see scrrenshhot.
  4. The source code located in :

https://github.com/dotnet/maui/issues/19774

  1. .I assume there is some timing issue in maui because the TelerikFont is properly displayed, and the message is saying that the issue is due to the current state of the object (FontRegistrar). I suspect later the state allows getting the font, and no more errors are shown.
    I checked, and we are not using this FontRegistrar, so the issue comes somewhere from maui or perhaps WinUI.
  2. Can you please check ?

User's image

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.