-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Working with TaskBarIcon in .net Maui. The component works just fine when i define the full path of the .ico file, but not when defining the relative path.
the location of the file in the project ^
<tb:TaskbarIcon
x:Key="TrayIcon"
IconSource="\Resources\AppIcon\dotnet_bot.ico"
ToolTipText="THSApp">
</tb:TaskbarIcon>
things ive tried:
Absolute path: C://{full path here}/Resources/AppIcon/dotnet_bot.ico <--- works
Relative path: {shown above} <---does not work
Pack uri: pack://application:,,,/Resources/AppIcon/dotnet_bot.ico <-- does not work
Any thoughts would be appreciated! Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels