Closed CarlosEX closed 3 years ago
You need to include your icon as <AvaloniaResource>
in your csproj file and then use project-relative path (e. g. /favicon.ico
)
Thank you so much for the support. I did it like this, and they're not generating the exception anymore. However, no images appear in the form title. Am I making a mistake?
Are you sure that your desktop environment actually shows window icons? Does any other window has an icon?
I didn't notice that. Actually the apps I have here, show a layout but I went to repair and are controls with icons. I believe that solves that issue. I am very grateful for the attention, I am very pleased with the results obtained so far.
Describe the bug I'm using Linux with Fedora, the build so far works, but when I run the application generates me an Expected. The image is at the root of the application and I only referenced it in the Windows Icon property. What's missing?
To Reproduce Steps to reproduce the behavior:
Expected behavior Unhandled exception. System.IO.FileNotFoundException: The resource favicon.ico could not be found
Screenshots
Desktop (please complete the following information):
Additional context