From 17d5e4c8193a9b769d4106eade26d9cf708273e6 Mon Sep 17 00:00:00 2001 From: "Andy (Steve) De George" <67293991+adegeo@users.noreply.github.com> Date: Fri, 1 Sep 2023 01:09:54 -0700 Subject: [PATCH] Add note to tutorial clarifying SVG vs PNG (#1672) --- docs/tutorials/notes-app/includes/shell.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/tutorials/notes-app/includes/shell.md b/docs/tutorials/notes-app/includes/shell.md index 18cdab50..7c63dd03 100644 --- a/docs/tutorials/notes-app/includes/shell.md +++ b/docs/tutorials/notes-app/includes/shell.md @@ -54,6 +54,10 @@ Let's break down the key parts of the XAML controls placed on the page: - `` is the only child object of the . can only have one child object. The type can have multiple children. This layout control arranges its children vertically, one after the other. - `` operates the same as a ``, except its children are arranged horizontally. - `` displays an image, in this case it's using the `dotnet_bot.png` image that comes with every .NET MAUI project. + + > [!IMPORTANT] + > The file added to the project is actually `dotnet_bot.svg`. .NET MAUI converts Scalable Vector Graphics (SVG) files to Portable Network Graphic (PNG) files. Therefore, when adding an SVG file to your .NET MAUI app project, it should be referenced from XAML or C# with a `.png` extension. The only reference to the SVG file should be in your project file. + - `