Fix: publish brand assets so installed builds show the icon (beta.15) #38

Merged
KofTwentyTwo merged 1 commits from dev into main 2026-07-05 21:46:38 +00:00
KofTwentyTwo commented 2026-07-05 21:40:44 +00:00 (Migrated from github.com)

beta.14 installed with blank splash/About icons and no window icon. Root cause: the brand SVG and .ico were <Content> with no copy metadata — dotnet build copies Content to bin (so it worked locally), but the Velopack release path uses dotnet publish (unpackaged, no MSIX packaging step), which copied no Assets, so ms-appx:///Assets/Brand/gclo-icon.svg and AppWindow.SetIcon resolved to nothing.

Fix: CopyToOutputDirectory=PreserveNewest on the brand svg + ico. Verified a release dotnet publish now contains Assets/Brand/{gclo-icon.svg,gclo.ico}, and the published exe renders the vector splash icon and the title-bar icon.

🤖 Generated with Claude Code

beta.14 installed with blank splash/About icons and no window icon. Root cause: the brand SVG and `.ico` were `<Content>` with no copy metadata — `dotnet build` copies Content to `bin` (so it worked locally), but the Velopack release path uses `dotnet publish` (unpackaged, no MSIX packaging step), which copied **no** Assets, so `ms-appx:///Assets/Brand/gclo-icon.svg` and `AppWindow.SetIcon` resolved to nothing. Fix: `CopyToOutputDirectory=PreserveNewest` on the brand svg + ico. Verified a release `dotnet publish` now contains `Assets/Brand/{gclo-icon.svg,gclo.ico}`, and the **published** exe renders the vector splash icon and the title-bar icon. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.