Label FontFamily is not recognized when setting WindowsPackageType to none and WindowsAppSDKSelfContained to true #18349
Unanswered
RiyashameedM
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The 'FontFamily' label is not recognized when setting 'WindowsPackageType' to 'none' and 'WindowsAppSDKSelfContained' to 'true' in csproj. Additionally, in the 'launchSetting.json' file, I have modified the command name to 'Project'.
I have set up a .NET MAUI project with only a label inside of it using 'FontFile' and declaring an icon. However, the label does not work as expected in Debug and Release modes. I have tried different Font families, but none seem to work. If I remove these changes, the font family is recognized properly. However, I need to load these font icons with the specifications I have mentioned.
Code snippet

is there any other possible way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions