Expose the .ico as an Avalonia resource, set it on MainWindow, and swap the custom SystemDecorations=None for BorderOnly so the icon appears on the taskbar and window can be resized normally.
Expose the .ico as an Avalonia resource, set it on MainWindow, and swap the custom SystemDecorations=None for BorderOnly so the icon appears on the taskbar and window can be resized normally.