Hi @Ryley Jue ,
Thanks for reaching out.
Official documentation supporting this:
- .NET MAUI uses WinUI 3 for Windows apps: https://learn.microsoft.com/dotnet/maui/supported-platforms?view=net-maui-10.0
- WinUI 3 is part of the Windows App SDK: https://learn.microsoft.com/en-us/windows/apps/winui/winui3/
Because MAUI relies on this internally defined combination of WinUI 3 and Windows App SDK, manually upgrading the WindowsAppSDK NuGet package is not supported. The workload ensures that MSBuild will ignore or downgrade any attempts to reference a newer version.
https://www.nuget.org/packages/Microsoft.Maui.Core/#dependencies-body-tab
This means that installing a newer Windows App SDK version, such as 1.8, will not make a MAUI app automatically use it. The app runs only with the Windows App SDK version that matches the MAUI workload it was built with. MAUI may adopt newer Windows App SDK versions in future releases, so it is recommended to monitor the MAUI release notes for updates.
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.