Skip to content

Migrating to Preview 13

David Ortinau edited this page Feb 18, 2022 · 4 revisions

Remove "Assets" from Windows image paths

Update paths in "Platform/Windows/Package.appxmanifest" to remove "Assets" from file paths.

If you have anywhere stated the location of images for Windows, you'll want to remove that. For example:

<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:windows="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific;assembly=Microsoft.Maui.Controls"
             windows:Application.ImageDirectory="Assets"
             x:Class="WeatherTwentyOne.App">

should now be

<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="WeatherTwentyOne.App">

Control Changes

  • GridLayout name has been removed in favor of the original Grid naming to remedy confusion
Clone this wiki locally