app-icon
Installation
SKILL.md
App icon
The icon is one SVG in git: Icon/AppIcon.svg, on a square canvas
(256 x 256 in the template). You write it by hand. Windows adds nothing
to an unpackaged app's icon: no plate, no mask, no shadow. What you draw
is what the taskbar shows, at every size.
tools/make-icon.ps1renders it withtools/IconTool(Svg.Skia) intosrc/<App>/Assets/AppIcon.ico(16, 20, 24, 32, 40, 48, 64, and 256 px) andAppIcon.png(256 px).build.ps1runs it when the SVG changed.tools/make-icon.ps1 -Reviewalso writes one review sheet you read: every size on the light and dark taskbar and Start colors, small sizes enlarged 4 times with no smoothing, so you see their real pixels.- The
.icois the exe's icon (ApplicationIconin the csproj: Explorer, Start, the taskbar pin) and the window's icon (AppWindow.SetIcon). The.pngis the icon in theTitleBarcontrol.