Files
Dan Siegel aac688c354 Refactor Uno E2E sample to single-project app model
Migrates the Uno Platform E2E sample application from a multi-project
structure to the recommended single-project architecture.

This update consolidates platform-specific heads into the main
`HelloWorld` project and introduces a new `Playground.Module` to
showcase Prism for Uno.WinUI features like regions, dialogs, and modularity
within the streamlined project setup. It also updates the target framework to .NET 10.
2026-05-14 08:46:23 -06:00

995 B

Shared Assets

See documentation about assets here: https://github.com/unoplatform/uno/blob/master/doc/articles/features/working-with-assets.md

Here is a cheat sheet

  1. Add the image file to the Assets directory of a shared project.
  2. Set the build action to Content.
  3. (Recommended) Provide an asset for various scales/dpi

Examples

\Assets\Images\logo.scale-100.png
\Assets\Images\logo.scale-200.png
\Assets\Images\logo.scale-400.png

\Assets\Images\scale-100\logo.png
\Assets\Images\scale-200\logo.png
\Assets\Images\scale-400\logo.png

Table of scales

Scale WinUI iOS Android
100 scale-100 @1x mdpi
125 scale-125 N/A N/A
150 scale-150 N/A hdpi
200 scale-200 @2x xhdpi
300 scale-300 @3x xxhdpi
400 scale-400 N/A xxxhdpi